[extractor] Improve _generic_title
This commit is contained in:
parent
682b4524bf
commit
62b8dac490
16 changed files with 21 additions and 34 deletions
|
|
@ -27,8 +27,7 @@ class BreitBartIE(InfoExtractor):
|
|||
self._sort_formats(formats)
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': (self._og_search_title(webpage, default=None)
|
||||
or self._html_extract_title(webpage, 'video title')),
|
||||
'title': self._generic_title('', webpage),
|
||||
'description': self._og_search_description(webpage),
|
||||
'thumbnail': self._og_search_thumbnail(webpage),
|
||||
'age_limit': self._rta_search(webpage),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue