Browse Source

[soundcloud] Support URLs with a slash at the end (Fixes #1104)

Philipp Hagemeister 12 years ago
parent
commit
b7cc9f5026
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/soundcloud.py

+ 1 - 1
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',