mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-21 00:25:42 +07:00
GenericIE: match titles that spread across multiple lines (related #904)
This commit is contained in:
@@ -143,7 +143,7 @@ def _real_extract(self, url):
|
|||||||
# Video Title - Tagline | Site Name
|
# Video Title - Tagline | Site Name
|
||||||
# and so on and so forth; it's just not practical
|
# and so on and so forth; it's just not practical
|
||||||
video_title = self._html_search_regex(r'<title>(.*)</title>',
|
video_title = self._html_search_regex(r'<title>(.*)</title>',
|
||||||
webpage, u'video title', default=u'video')
|
webpage, u'video title', default=u'video', flags=re.DOTALL)
|
||||||
|
|
||||||
# video uploader is domain name
|
# video uploader is domain name
|
||||||
video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*',
|
video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*',
|
||||||
|
|||||||
Reference in New Issue
Block a user