[soundcloud] Improve_VALID_URL
authorTithen-Firion <Tithen-Firion@users.noreply.github.com>
Wed, 3 Dec 2014 10:49:53 +0000 (11:49 +0100)
committerTithen-Firion <Tithen-Firion@users.noreply.github.com>
Wed, 3 Dec 2014 23:42:01 +0000 (00:42 +0100)
Add support for links from Audiomack

youtube_dl/extractor/soundcloud.py

index 3c1d058db9cf546bb94a299d9f1badd79fab12d3..ab9483d2dc0136258084a794fd6945680d2aae47 100644 (file)
@@ -32,7 +32,7 @@ class SoundcloudIE(InfoExtractor):
                             (?P<title>[\w\d-]+)/?
                             (?P<token>[^?]+?)?(?:[?].*)?$)
                        |(?:api\.soundcloud\.com/tracks/(?P<track_id>\d+)
-                          (?:/?\?secret_token=(?P<secret_token>[^&]+?))?$)
+                          (?:/?\?secret_token=(?P<secret_token>[^&]+))?)
                        |(?P<player>(?:w|player|p.)\.soundcloud\.com/player/?.*?url=.*)
                     )
                     '''