mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-23 21:07:45 +01:00
[ie/niconico:live] Fix thumbnail extraction (#12419)
Closes #12417 Authored by: bashonly
This commit is contained in:
parent
9c3e8b1696
commit
c2e6e1d5f7
@ -13,11 +13,13 @@ from ..utils import (
|
||||
ExtractorError,
|
||||
OnDemandPagedList,
|
||||
clean_html,
|
||||
determine_ext,
|
||||
float_or_none,
|
||||
int_or_none,
|
||||
join_nonempty,
|
||||
parse_duration,
|
||||
parse_iso8601,
|
||||
parse_qs,
|
||||
parse_resolution,
|
||||
qualities,
|
||||
remove_start,
|
||||
@ -1033,6 +1035,7 @@ class NiconicoLiveIE(InfoExtractor):
|
||||
thumbnails.append({
|
||||
'id': f'{name}_{width}x{height}',
|
||||
'url': img_url,
|
||||
'ext': traverse_obj(parse_qs(img_url), ('image', 0, {determine_ext(default_ext='jpg')})),
|
||||
**res,
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user