From: Sergey M․ Date: Tue, 4 Mar 2014 14:21:45 +0000 (+0700) Subject: [soundcloud:set] Fix _VALID_URL regex (Closes #2509) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9d3f7781f34e44065926b1016fd84d260519a015;p=youtube-dl [soundcloud:set] Fix _VALID_URL regex (Closes #2509) --- diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index 393b5f17c..1cc0dcb15 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -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 = []