commit: b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a
parent a7af0ebaf5fd643d42787d55157f2c767bd73404
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Tue, 23 Jul 2013 18:35:52 +0200
[soundcloud] Support URLs with a slash at the end (Fixes #1104)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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',