[ard] Fix title (#3006)
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 30 May 2014 02:59:18 +0000 (04:59 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 30 May 2014 02:59:18 +0000 (04:59 +0200)
youtube_dl/extractor/ard.py

index b88f71bc40b9803fb4ed0dea134738a7e1e07201..a87b32b22fae35e7ac619950cd1b97576f4bbb86 100644 (file)
@@ -38,7 +38,9 @@ class ARDIE(InfoExtractor):
         webpage = self._download_webpage(url, video_id)
 
         title = self._html_search_regex(
-            r'<h1(?:\s+class="boxTopHeadline")?>(.*?)</h1>', webpage, 'title')
+            [r'<h1(?:\s+class="boxTopHeadline")?>(.*?)</h1>',
+             r'<h4 class="headline">(.*?)</h4>'],
+            webpage, 'title')
         description = self._html_search_meta(
             'dcterms.abstract', webpage, 'description')
         thumbnail = self._og_search_thumbnail(webpage)