mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[soundcloud] Improve _VALID_URL
Do not takeover soundcloud:user URLs
This commit is contained in:
parent
3c3b4176bd
commit
a219d175c6
1 changed files with 1 additions and 1 deletions
|
@ -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+)
|
||||
|
|
Loading…
Reference in a new issue