[soundcloud:set] Fix _VALID_URL regex (Closes #2509)
authorSergey M․ <dstftw@gmail.com>
Tue, 4 Mar 2014 14:21:45 +0000 (21:21 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 4 Mar 2014 14:29:14 +0000 (21:29 +0700)
youtube_dl/extractor/soundcloud.py

index 393b5f17c53d5ed216b53ac0d1ff2941cb1d24f7..1cc0dcb158907831e010c3d243ec5f871984885b 100644 (file)
@@ -217,7 +217,7 @@ class SoundcloudIE(InfoExtractor):
         return self._extract_info_dict(info, full_title, secret_token=token)
 
 class SoundcloudSetIE(SoundcloudIE):
-    _VALID_URL = r'^(?:https?://)?(?:www\.)?soundcloud\.com/([\w\d-]+)/sets/([\w\d-]+)(?:[?].*)?$'
+    _VALID_URL = r'https?://(?:www\.)?soundcloud\.com/([\w\d-]+)/sets/([\w\d-]+)'
     IE_NAME = 'soundcloud:set'
     # it's in tests/test_playlists.py
     _TESTS = []