mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-05 23:16:19 +00:00
thumbnail
This commit is contained in:
parent
605741fbe8
commit
c3896d0178
@ -34,7 +34,6 @@ class PlVideoVideoIE(InfoExtractor):
|
|||||||
'url': hlsurl,
|
'url': hlsurl,
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'quality': 0 if len(formats) == 0 else 0 - len(formats),
|
'quality': 0 if len(formats) == 0 else 0 - len(formats),
|
||||||
'thumbnail': thumbnail,
|
|
||||||
'format_id': key,
|
'format_id': key,
|
||||||
'protocol': 'm3u8_native',
|
'protocol': 'm3u8_native',
|
||||||
}
|
}
|
||||||
@ -45,4 +44,5 @@ class PlVideoVideoIE(InfoExtractor):
|
|||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': item.get('title'),
|
'title': item.get('title'),
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
'thumbnails': [{'url': thumbnail}],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user