mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-27 01:56:50 +09:00
GenericIE: match titles that spread across multiple lines (related #904)
This commit is contained in:
1 parent
62067cb9b8
commit
5c44c15438
1 file changed
+1
-1
@@ -143,7 +143,7 @@ class GenericIE(InfoExtractor):
|
||||
# Video Title - Tagline | Site Name
|
||||
# and so on and so forth; it's just not practical
|
||||
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 = self._search_regex(r'(?:https?://)?([^/]*)/.*',
|
||||
|
||||
Reference in new issue
Block a user