mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-01 09:09:52 +08:00
Modify valid URL regex to allow hyphens in collection id
This commit is contained in:
@@ -437,7 +437,7 @@ class TwitchVideosBaseIE(TwitchPlaylistBaseIE):
|
||||
|
||||
class TwitchCollectionsIE(TwitchBaseIE):
|
||||
IE_NAME = 'twitch:collections'
|
||||
_VALID_URL = r'%s/collections/(?P<id>[\w\d]+)' % TwitchBaseIE._VALID_URL_BASE
|
||||
_VALID_URL = r'%s/collections/(?P<id>[\w\d\-]+)' % TwitchBaseIE._VALID_URL_BASE
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://www.twitch.tv/collections/myIbIFkZphQSbQ',
|
||||
|
||||
Reference in New Issue
Block a user