summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-05-30 04:59:18 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-05-30 04:59:18 +0200
commit0f97c9a06f3c4f9eca0859b93809308fadf1d1b0 (patch)
treee48e4ab2e5bbf6fe3c912cf011a0928625a388fd
parent77fb72646f2bf32a7044ca356d38707dfacb7234 (diff)
downloadyoutube-dl-0f97c9a06f3c4f9eca0859b93809308fadf1d1b0.tar.gz
youtube-dl-0f97c9a06f3c4f9eca0859b93809308fadf1d1b0.tar.xz
youtube-dl-0f97c9a06f3c4f9eca0859b93809308fadf1d1b0.zip
[ard] Fix title (#3006)
-rw-r--r--youtube_dl/extractor/ard.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py
index b88f71bc4..a87b32b22 100644
--- a/youtube_dl/extractor/ard.py
+++ b/youtube_dl/extractor/ard.py
@@ -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)