Make lookeahead in TwitchStream regex more specific

This commit is contained in:
Michael Tilbury 2019-04-14 13:19:02 -04:00
parent fb56a16673
commit f9c9a53a0c

View File

@ -575,7 +575,7 @@ class TwitchStreamIE(TwitchBaseIE):
(?:(?:www|go|m)\.)?twitch\.tv/| (?:(?:www|go|m)\.)?twitch\.tv/|
player\.twitch\.tv/\?.*?\bchannel= player\.twitch\.tv/\?.*?\bchannel=
) )
(?!collections) (?!collections/[\w\d\-]+)
(?P<id>[^/#?]+) (?P<id>[^/#?]+)
''' '''