]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/karrierevideos.py
debian/copyright: Update my copyright years.
[youtubedl] / youtube_dl / extractor / karrierevideos.py
index 4e9eb67bf24690571176299de5ff900c7496fec8..7b291e0a059ece063b0c94d3c8fb485be7c4818d 100644 (file)
@@ -47,8 +47,8 @@ class KarriereVideosIE(InfoExtractor):
 
         webpage = self._download_webpage(url, video_id)
 
-        title = (self._html_search_meta('title', webpage, default=None) or
-                 self._search_regex(r'<h1 class="title">([^<]+)</h1>'))
+        title = (self._html_search_meta('title', webpage, default=None)
+                 or self._search_regex(r'<h1 class="title">([^<]+)</h1>', webpage, 'video title'))
 
         video_id = self._search_regex(
             r'/config/video/(.+?)\.xml', webpage, 'video id')