summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-07-23 18:35:52 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-07-23 18:35:52 +0200
commitb7cc9f50268f41656746009b6a6e8f5d5bf1cb7a (patch)
tree788ec57679e0f8f2e49083a6e070b1a299ba652b
parenta7af0ebaf5fd643d42787d55157f2c767bd73404 (diff)
downloadyoutube-dl-b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a.tar.gz
youtube-dl-b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a.tar.xz
youtube-dl-b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a.zip
[soundcloud] Support URLs with a slash at the end (Fixes #1104)
-rw-r--r--youtube_dl/extractor/soundcloud.py2
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',