projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77fb726
)
[ard] Fix title (#3006)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 30 May 2014 02:59:18 +0000
(
04:59
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 30 May 2014 02:59:18 +0000
(
04:59
+0200)
youtube_dl/extractor/ard.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ard.py
b/youtube_dl/extractor/ard.py
index b88f71bc40b9803fb4ed0dea134738a7e1e07201..a87b32b22fae35e7ac619950cd1b97576f4bbb86 100644
(file)
--- 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)