Modify valid URL regex to allow hyphens in collection id
This commit is contained in:
parent
b2633030ce
commit
fb56a16673
@ -437,7 +437,7 @@ class TwitchVideosBaseIE(TwitchPlaylistBaseIE):
|
|||||||
|
|
||||||
class TwitchCollectionsIE(TwitchBaseIE):
|
class TwitchCollectionsIE(TwitchBaseIE):
|
||||||
IE_NAME = 'twitch:collections'
|
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 = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.twitch.tv/collections/myIbIFkZphQSbQ',
|
'url': 'https://www.twitch.tv/collections/myIbIFkZphQSbQ',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user