Made 'video' the default title for generic IE
authorAlbert Kim <alkim1234@gmail.com>
Thu, 27 Jun 2013 18:18:15 +0000 (19:18 +0100)
committerAlbert Kim <alkim1234@gmail.com>
Thu, 27 Jun 2013 18:18:15 +0000 (19:18 +0100)
youtube_dl/extractor/generic.py

index eaaca98047e99d13fa0ad0ad59d5fabea59dc3f6..759fd60a73931c177e876b5102c2bd95fc0c60ea 100644 (file)
@@ -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?://)?([^/]*)/.*',