[soundcloud] Support mobile URLs (Fixes #2009)
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 19 Dec 2013 15:39:01 +0000 (16:39 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 19 Dec 2013 15:39:01 +0000 (16:39 +0100)
youtube_dl/extractor/soundcloud.py

index cbba4094bf14c1096cd5b5d6d657513d230655a5..e22ff9c387ab0e01c1e6fcb1da793af877f37a5c 100644 (file)
@@ -24,7 +24,7 @@ class SoundcloudIE(InfoExtractor):
      """
 
     _VALID_URL = r'''^(?:https?://)?
-                    (?:(?:(?:www\.)?soundcloud\.com/
+                    (?:(?:(?:www\.|m\.)?soundcloud\.com/
                             (?P<uploader>[\w\d-]+)/
                             (?!sets/)(?P<title>[\w\d-]+)/?
                             (?P<token>[^?]+?)?(?:[?].*)?$)