mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-04-29 02:06:45 +02:00
[ie/AbemaTV] Fix thumbnail extraction (#12859)
Closes #12858 Authored by: Kiritomo
This commit is contained in:
parent
9d26daa04a
commit
f5736bb35b
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue