mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 09:52:31 +00:00
[twitch] Modified _VALID_URL for TwitchAllVideosIE
Reverted the modification of youtube_dl/extractor/extractors.py since TwitchAllVideosIE now only matches on URLs with filter=all or without any parameters
This commit is contained in:
parent
ca7e9e1cd1
commit
d28026d934
@ -1235,10 +1235,10 @@
|
|||||||
TwitchChapterIE,
|
TwitchChapterIE,
|
||||||
TwitchVodIE,
|
TwitchVodIE,
|
||||||
TwitchProfileIE,
|
TwitchProfileIE,
|
||||||
|
TwitchAllVideosIE,
|
||||||
TwitchUploadsIE,
|
TwitchUploadsIE,
|
||||||
TwitchPastBroadcastsIE,
|
TwitchPastBroadcastsIE,
|
||||||
TwitchHighlightsIE,
|
TwitchHighlightsIE,
|
||||||
TwitchAllVideosIE,
|
|
||||||
TwitchStreamIE,
|
TwitchStreamIE,
|
||||||
TwitchClipsIE,
|
TwitchClipsIE,
|
||||||
)
|
)
|
||||||
|
@ -438,7 +438,7 @@ class TwitchVideosBaseIE(TwitchPlaylistBaseIE):
|
|||||||
|
|
||||||
class TwitchAllVideosIE(TwitchVideosBaseIE):
|
class TwitchAllVideosIE(TwitchVideosBaseIE):
|
||||||
IE_NAME = 'twitch:videos:all'
|
IE_NAME = 'twitch:videos:all'
|
||||||
_VALID_URL = '%s(?:/?(?:%s)|[^/?]+?/?)?' % (
|
_VALID_URL = '%s/?(?:(?:%s)|$)' % (
|
||||||
TwitchVideosBaseIE._VALID_URL_VIDEOS_BASE,
|
TwitchVideosBaseIE._VALID_URL_VIDEOS_BASE,
|
||||||
TwitchVideosBaseIE._VALID_URL_VIDEOS_FILTERS % 'all'
|
TwitchVideosBaseIE._VALID_URL_VIDEOS_FILTERS % 'all'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user