aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/soundcloud.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-24 20:48:57 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-24 20:48:57 +0600
commita219d175c66680968d5ce7de0a2e619623171a40 (patch)
treef97077fd81a4c2cc3d4935e0d886abda4d2f2c94 /youtube_dl/extractor/soundcloud.py
parent3c3b4176bd60f8c7ffb81de8f1b30e871652103d (diff)
[soundcloud] Improve _VALID_URL
Do not takeover soundcloud:user URLs
Diffstat (limited to 'youtube_dl/extractor/soundcloud.py')
-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 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+)