[extractor/twitch:vod] Support links from schedule tab (#7071)

Authored by: falbrechtskirchinger
pull/7171/head
Florian Albrechtskirchinger 1 year ago committed by GitHub
parent f78eb41e1c
commit dbce5afa6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -194,7 +194,8 @@ class TwitchVodIE(TwitchBaseIE):
https?:// https?://
(?: (?:
(?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/v(?:ideo)?|videos)/| (?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/v(?:ideo)?|videos)/|
player\.twitch\.tv/\?.*?\bvideo=v? player\.twitch\.tv/\?.*?\bvideo=v?|
www\.twitch\.tv/[^/]+/schedule\?vodID=
) )
(?P<id>\d+) (?P<id>\d+)
''' '''
@ -363,6 +364,9 @@ class TwitchVodIE(TwitchBaseIE):
'skip_download': True 'skip_download': True
}, },
'expected_warnings': ['Unable to download JSON metadata: HTTP Error 403: Forbidden'] 'expected_warnings': ['Unable to download JSON metadata: HTTP Error 403: Forbidden']
}, {
'url': 'https://www.twitch.tv/tangotek/schedule?vodID=1822395420',
'only_matching': True,
}] }]
def _download_info(self, item_id): def _download_info(self, item_id):

Loading…
Cancel
Save