mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
[indavideo:embed] Fix tags extraction (Closes #8738)
This commit is contained in:
parent
a8276b2680
commit
d0ff690d68
|
@ -73,7 +73,7 @@ def _real_extract(self, url):
|
|||
'url': self._proto_relative_url(thumbnail)
|
||||
} for thumbnail in video.get('thumbnails', [])]
|
||||
|
||||
tags = [tag['title'] for tag in video.get('tags', [])]
|
||||
tags = [tag['title'] for tag in video.get('tags') or []]
|
||||
|
||||
return {
|
||||
'id': video.get('id') or video_id,
|
||||
|
|
Loading…
Reference in a new issue