mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[videobam] Fix empty title handling
This commit is contained in:
parent
87a29e6f25
commit
1e0eb60f1a
|
@ -29,6 +29,7 @@ class VideoBamIE(InfoExtractor):
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'pqLvq',
|
'id': 'pqLvq',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
'title': '_',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -61,7 +62,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._og_search_title(page, default='VideoBam', fatal=False)
|
title = self._og_search_title(page, default='_', fatal=False)
|
||||||
description = self._og_search_description(page, default=None)
|
description = self._og_search_description(page, default=None)
|
||||||
thumbnail = self._og_search_thumbnail(page)
|
thumbnail = self._og_search_thumbnail(page)
|
||||||
uploader = self._html_search_regex(r'Upload by ([^<]+)</a>', page, 'uploader', fatal=False, default=None)
|
uploader = self._html_search_regex(r'Upload by ([^<]+)</a>', page, 'uploader', fatal=False, default=None)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user