projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c3b417
)
[soundcloud] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Wed, 24 Jun 2015 14:48:57 +0000
(20:48 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 24 Jun 2015 14:48:57 +0000
(20:48 +0600)
Do not takeover soundcloud:user URLs
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index c23c5ee0fb853f86e4662ad574b587610456159c..e31b4596a31192bf5dcf5b367d7f8713e0f7c50e 100644
(file)
--- 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+)