1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 23:33:10 +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:
Léo El Amri 2019-07-29 19:03:19 +02:00
parent ca7e9e1cd1
commit d28026d934
2 changed files with 2 additions and 2 deletions

View file

@ -1235,10 +1235,10 @@ from .twitch import (
TwitchChapterIE,
TwitchVodIE,
TwitchProfileIE,
TwitchAllVideosIE,
TwitchUploadsIE,
TwitchPastBroadcastsIE,
TwitchHighlightsIE,
TwitchAllVideosIE,
TwitchStreamIE,
TwitchClipsIE,
)

View file

@ -438,7 +438,7 @@ class TwitchVideosBaseIE(TwitchPlaylistBaseIE):
class TwitchAllVideosIE(TwitchVideosBaseIE):
IE_NAME = 'twitch:videos:all'
_VALID_URL = '%s(?:/?(?:%s)|[^/?]+?/?)?' % (
_VALID_URL = '%s/?(?:(?:%s)|$)' % (
TwitchVideosBaseIE._VALID_URL_VIDEOS_BASE,
TwitchVideosBaseIE._VALID_URL_VIDEOS_FILTERS % 'all'
)