mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-04-20 16:00:23 +00:00
[ie/AbemaTV] Fix thumbnail extraction (#12859)
Closes #12858 Authored by: Kiritomo
This commit is contained in:
parent
9d26daa04a
commit
f5736bb35b
@ -21,6 +21,7 @@ from ..utils import (
|
||||
int_or_none,
|
||||
time_seconds,
|
||||
traverse_obj,
|
||||
update_url,
|
||||
update_url_query,
|
||||
)
|
||||
|
||||
@ -417,6 +418,10 @@ class AbemaTVIE(AbemaTVBaseIE):
|
||||
'is_live': is_live,
|
||||
'availability': availability,
|
||||
})
|
||||
|
||||
if thumbnail := update_url(self._og_search_thumbnail(webpage, default=''), query=None):
|
||||
info['thumbnails'] = [{'url': thumbnail}]
|
||||
|
||||
return info
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user