mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 06:37:17 +08:00
fix twitch thumbnail bug
This commit is contained in:
parent
3a3645e6f2
commit
615f63bb83
@ -617,7 +617,7 @@ class TwitchStreamIE(TwitchBaseIE):
|
||||
|
||||
thumbnails = []
|
||||
for thumbnail_key, thumbnail_url in stream['preview'].items():
|
||||
m = re.search(r'(?P<width>\d+)x(?P<height>\d+)\.jpg$', thumbnail_key)
|
||||
m = re.search(r'(?P<width>\d+)x(?P<height>\d+)\.jpg$', thumbnail_url)
|
||||
if not m:
|
||||
continue
|
||||
thumbnails.append({
|
||||
|
Loading…
x
Reference in New Issue
Block a user