Skip to content

Commit

Permalink
[extractor/twitch] Support mobile clips (#6699)
Browse files Browse the repository at this point in the history
Authored by: bepvte
  • Loading branch information
bepvte committed May 29, 2023
1 parent 94627c5 commit 02312c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yt_dlp/extractor/twitch.py
Expand Up @@ -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>[^/?#&]+)
'''
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 02312c0

Please sign in to comment.