aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/twitch.py
diff options
context:
space:
mode:
authorbepvte <8226605+bepvte@users.noreply.github.com>2023-05-28 22:54:36 -0700
committerGitHub <noreply@github.com>2023-05-29 11:24:36 +0530
commit02312c03cf53eb1da24c9ad022ee79af26060733 (patch)
treee6a88f894af530697958066a4ca124d29e711ca5 /yt_dlp/extractor/twitch.py
parent94627c5dde12a72766bdba36e056916c29c40ed1 (diff)
downloadhypervideo-pre-02312c03cf53eb1da24c9ad022ee79af26060733.tar.lz
hypervideo-pre-02312c03cf53eb1da24c9ad022ee79af26060733.tar.xz
hypervideo-pre-02312c03cf53eb1da24c9ad022ee79af26060733.zip
[extractor/twitch] Support mobile clips (#6699)
Authored by: bepvte
Diffstat (limited to 'yt_dlp/extractor/twitch.py')
-rw-r--r--yt_dlp/extractor/twitch.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py
index 9b333f6f6..d7a1cc531 100644
--- a/yt_dlp/extractor/twitch.py
+++ b/yt_dlp/extractor/twitch.py
@@ -1075,7 +1075,7 @@ class TwitchClipsIE(TwitchBaseIE):
https?://
(?:
clips\.twitch\.tv/(?:embed\?.*?\bclip=|(?:[^/]+/)*)|
- (?:(?:www|go|m)\.)?twitch\.tv/[^/]+/clip/
+ (?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/)?clip/
)
(?P<id>[^/?#&]+)
'''
@@ -1111,6 +1111,9 @@ class TwitchClipsIE(TwitchBaseIE):
}, {
'url': 'https://go.twitch.tv/rossbroadcast/clip/ConfidentBraveHumanChefFrank',
'only_matching': True,
+ }, {
+ 'url': 'https://m.twitch.tv/clip/FaintLightGullWholeWheat',
+ 'only_matching': True,
}]
def _real_extract(self, url):