1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 22:22:56 +08:00

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

This commit is contained in:
Philipp Hagemeister 2013-07-23 18:35:52 +02:00
parent a7af0ebaf5
commit b7cc9f5026

View File

@ -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',