Browse Source

[ard] Fix title (#3006)

master
Philipp Hagemeister 10 years ago
parent
commit
0f97c9a06f
1 changed files with 3 additions and 1 deletions
  1. 4
      youtube_dl/extractor/ard.py

4
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)

Loading…
Cancel
Save