From: Philipp Hagemeister Date: Tue, 23 Jul 2013 16:35:52 +0000 (+0200) Subject: [soundcloud] Support URLs with a slash at the end (Fixes #1104) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=b7cc9f50268f41656746009b6a6e8f5d5bf1cb7a;p=youtube-dl.git [soundcloud] Support URLs with a slash at the end (Fixes #1104) --- 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',