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:
parent
3951482e1e
commit
cf1558472f
@ -1020,7 +1020,7 @@ class TwitchStreamIE(TwitchVideosBaseIE):
|
|||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
(?:(?:www|go|m)\.)?twitch\.tv/|
|
(?:(?:www|go|m)\.)?twitch\.tv/(?!directory/category/)|
|
||||||
player\.twitch\.tv/\?.*?\bchannel=
|
player\.twitch\.tv/\?.*?\bchannel=
|
||||||
)
|
)
|
||||||
(?P<id>[^/#?]+)
|
(?P<id>[^/#?]+)
|
||||||
|
Loading…
Reference in New Issue
Block a user