diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-24 20:48:57 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-24 20:48:57 +0600 |
commit | a219d175c66680968d5ce7de0a2e619623171a40 (patch) | |
tree | f97077fd81a4c2cc3d4935e0d886abda4d2f2c94 | |
parent | 3c3b4176bd60f8c7ffb81de8f1b30e871652103d (diff) |
[soundcloud] Improve _VALID_URL
Do not takeover soundcloud:user URLs
-rw-r--r-- | youtube_dl/extractor/soundcloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index c23c5ee0f..e31b4596a 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -29,7 +29,7 @@ class SoundcloudIE(InfoExtractor): _VALID_URL = r'''(?x)^(?:https?://)? (?:(?:(?:www\.|m\.)?soundcloud\.com/ (?P<uploader>[\w\d-]+)/ - (?!sets/|likes/?(?:$|[?#])) + (?!sets/|(?:likes|tracks)/?(?:$|[?#])) (?P<title>[\w\d-]+)/? (?P<token>[^?]+?)?(?:[?].*)?$) |(?:api\.soundcloud\.com/tracks/(?P<track_id>\d+) |