Browse Source

[soundcloud:set] Fix _VALID_URL regex (Closes #2509)

totalwebcasting
Sergey M․ 11 years ago
parent
commit
9d3f7781f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/soundcloud.py

+ 1
- 1
youtube_dl/extractor/soundcloud.py View File

@ -217,7 +217,7 @@ class SoundcloudIE(InfoExtractor):
return self._extract_info_dict(info, full_title, secret_token=token) return self._extract_info_dict(info, full_title, secret_token=token)
class SoundcloudSetIE(SoundcloudIE): 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' IE_NAME = 'soundcloud:set'
# it's in tests/test_playlists.py # it's in tests/test_playlists.py
_TESTS = [] _TESTS = []


Loading…
Cancel
Save