1
0
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:
Michael Tilbury
2019-04-14 13:14:07 -04:00
Unverified
parent b2633030ce
commit fb56a16673
+1 -1
View File
@@ -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',