diff options
author | Philipp Hagemeister <[email protected]> | 2014-05-30 04:59:18 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-05-30 04:59:18 +0200 |
commit | 0f97c9a06f3c4f9eca0859b93809308fadf1d1b0 (patch) | |
tree | e48e4ab2e5bbf6fe3c912cf011a0928625a388fd /youtube_dl/extractor/ard.py | |
parent | 77fb72646f2bf32a7044ca356d38707dfacb7234 (diff) | |
download | youtube-dl-0f97c9a06f3c4f9eca0859b93809308fadf1d1b0.tar.gz youtube-dl-0f97c9a06f3c4f9eca0859b93809308fadf1d1b0.zip |
[ard] Fix title (#3006)
Diffstat (limited to 'youtube_dl/extractor/ard.py')
-rw-r--r-- | youtube_dl/extractor/ard.py | 4 |
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) |