1
0
Fork 0

[extractor] Improve _generic_title

This commit is contained in:
pukkandan 2022-10-31 17:35:20 +05:30
commit 62b8dac490
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
16 changed files with 21 additions and 34 deletions

View file

@ -51,9 +51,7 @@ class CallinIE(InfoExtractor):
episode = next_data['props']['pageProps']['episode']
id = episode['id']
title = (episode.get('title')
or self._og_search_title(webpage, fatal=False)
or self._html_extract_title(webpage))
title = episode.get('title') or self._generic_title('', webpage)
url = episode['m3u8']
formats = self._extract_m3u8_formats(url, display_id, ext='ts')
self._sort_formats(formats)