From f9c9a53a0c44c95625f131ca9d3fcba245511e20 Mon Sep 17 00:00:00 2001 From: Michael Tilbury Date: Sun, 14 Apr 2019 13:19:02 -0400 Subject: [PATCH] Make lookeahead in TwitchStream regex more specific --- youtube_dl/extractor/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index d8b98803e..61d9c38c9 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -575,7 +575,7 @@ class TwitchStreamIE(TwitchBaseIE): (?:(?:www|go|m)\.)?twitch\.tv/| player\.twitch\.tv/\?.*?\bchannel= ) - (?!collections) + (?!collections/[\w\d\-]+) (?P[^/#?]+) '''