diff options
author | Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com> | 2023-05-29 16:30:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 20:00:20 +0530 |
commit | dbce5afa6bb61f6272ade613f2e9a3d66b88c7ea (patch) | |
tree | 3d4ae49a7788c9eb888ce6305dc114aeb0dc4b4a /yt_dlp/extractor/twitch.py | |
parent | f78eb41e1c0f1dcdb10317358a26bf541dc7ee15 (diff) | |
download | hypervideo-pre-dbce5afa6bb61f6272ade613f2e9a3d66b88c7ea.tar.lz hypervideo-pre-dbce5afa6bb61f6272ade613f2e9a3d66b88c7ea.tar.xz hypervideo-pre-dbce5afa6bb61f6272ade613f2e9a3d66b88c7ea.zip |
[extractor/twitch:vod] Support links from schedule tab (#7071)
Authored by: falbrechtskirchinger
Diffstat (limited to 'yt_dlp/extractor/twitch.py')
-rw-r--r-- | yt_dlp/extractor/twitch.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py index d7a1cc531..4a17d8048 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -194,7 +194,8 @@ class TwitchVodIE(TwitchBaseIE): https?:// (?: (?:(?: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+) ''' @@ -363,6 +364,9 @@ class TwitchVodIE(TwitchBaseIE): 'skip_download': True }, '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): |