diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-07-23 18:35:52 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-07-23 18:35:52 +0200 |
commit | b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a (patch) | |
tree | 788ec57679e0f8f2e49083a6e070b1a299ba652b /youtube_dl | |
parent | a7af0ebaf5fd643d42787d55157f2c767bd73404 (diff) |
[soundcloud] Support URLs with a slash at the end (Fixes #1104)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/soundcloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index d47c49c03..8b8b5166d 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -19,7 +19,7 @@ class SoundcloudIE(InfoExtractor): of the stream token and uid """ - _VALID_URL = r'^(?:https?://)?(?:www\.)?soundcloud\.com/([\w\d-]+)/([\w\d-]+)(?:[?].*)?$' + _VALID_URL = r'^(?:https?://)?(?:www\.)?soundcloud\.com/([\w\d-]+)/([\w\d-]+)/?(?:[?].*)?$' IE_NAME = u'soundcloud' _TEST = { u'url': u'http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy', |