mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-02 15:45:18 +00:00
[extractor] Improve _generic_title
This commit is contained in:
@@ -48,9 +48,7 @@ class MeipaiIE(InfoExtractor):
|
||||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
title = self._og_search_title(
|
||||
webpage, default=None) or self._html_search_regex(
|
||||
r'<title[^>]*>([^<]+)</title>', webpage, 'title')
|
||||
title = self._generic_title('', webpage)
|
||||
|
||||
formats = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user