1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-23 09:55:12 +00:00

[extractor] Improve _generic_title

This commit is contained in:
pukkandan
2022-10-31 17:35:20 +05:30
parent 682b4524bf
commit 62b8dac490
16 changed files with 21 additions and 34 deletions

View File

@@ -71,7 +71,7 @@ class FiveTVIE(InfoExtractor):
r'<a[^>]+?href="([^"]+)"[^>]+?class="videoplayer"'],
webpage, 'video url')
title = self._og_search_title(webpage, default=None) or self._html_extract_title(webpage)
title = self._generic_title('', webpage)
duration = int_or_none(self._og_search_property(
'video:duration', webpage, 'duration', default=None))