Browse Source

[soundcloud] Improve _VALID_URL

Do not takeover soundcloud:user URLs
totalwebcasting
Sergey M․ 9 years ago
parent
commit
a219d175c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/soundcloud.py

+ 1
- 1
youtube_dl/extractor/soundcloud.py View File

@ -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…
Cancel
Save