mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
[extractor/twitch:vod] Support links from schedule tab (#7071)
Authored by: falbrechtskirchinger
This commit is contained in:
parent
f78eb41e1c
commit
dbce5afa6b
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue