1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

Make directory/category urls exclusive to TwitchDirectoryClipsIE

This commit is contained in:
Michiel Sikma 2025-06-05 11:59:18 +02:00
parent 3951482e1e
commit cf1558472f

View File

@ -1020,7 +1020,7 @@ class TwitchStreamIE(TwitchVideosBaseIE):
_VALID_URL = r'''(?x)
https?://
(?:
(?:(?:www|go|m)\.)?twitch\.tv/|
(?:(?:www|go|m)\.)?twitch\.tv/(?!directory/category/)|
player\.twitch\.tv/\?.*?\bchannel=
)
(?P<id>[^/#?]+)