mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 01:01:17 +00:00
Made 'video' the default title for generic IE
This commit is contained in:
parent
52c8ade4ad
commit
27473d18da
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,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')
|
webpage, u'video title', default=u'video')
|
||||||
|
|
||||||
# video uploader is domain name
|
# video uploader is domain name
|
||||||
video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*',
|
video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*',
|
||||||
|
|
Loading…
Reference in a new issue