diff options
author | Albert Kim <alkim1234@gmail.com> | 2013-06-27 19:18:15 +0100 |
---|---|---|
committer | Albert Kim <alkim1234@gmail.com> | 2013-06-27 19:18:15 +0100 |
commit | 27473d18da11e5e7edec040a70d43e4296e303e7 (patch) | |
tree | 9bed657a724e42673da3e6624e5e26ead529741e /youtube_dl | |
parent | 52c8ade4adcf07abe72057e0a2a765aad1208119 (diff) |
Made 'video' the default title for generic IE
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index eaaca9804..759fd60a7 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -135,7 +135,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') + webpage, u'video title', default=u'video') # video uploader is domain name video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*', |