mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-29 03:34:32 +01:00
[FiteTV] Add fallbacks to metafield extraction
This commit is contained in:
parent
931a87cec7
commit
6d829b7456
@ -42,10 +42,14 @@ class FiteTVIE(InfoExtractor):
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
title = info_dict.get("title") or self._og_search_title(webpage)
|
||||
description = info_dict.get("description") or self._og_search_description(webpage)
|
||||
thumbnail = info_dict.get("thumbnail") or self._og_search_thumbnail(webpage)
|
||||
|
||||
return {
|
||||
"id": video_id,
|
||||
"title": info_dict["title"],
|
||||
"description": info_dict["description"],
|
||||
"thumbnail": info_dict["thumbnail"],
|
||||
"title": title,
|
||||
"description": description,
|
||||
"thumbnail": thumbnail,
|
||||
"formats": formats,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user