projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c95da74
)
Fix the DailymotionIE to parse the new title of a webpage
author
Laurent Raufaste
<analogue@glop.org>
Wed, 30 Nov 2011 03:30:42 +0000
(22:30 -0500)
committer
Laurent Raufaste
<analogue@glop.org>
Wed, 30 Nov 2011 03:30:42 +0000
(22:30 -0500)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 8c4c320df1f20c4b7079761dab3a35aafc59fff0..042b852671b01e5f12092d5a980337360129199d 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-1618,7
+1618,7
@@
class DailymotionIE(InfoExtractor):
video_url = mediaURL
- mobj = re.search(r'(?im)<title>
Dailymotion\s*-\s*(.+)\s*-\s*[^<]+?
</title>', webpage)
+ mobj = re.search(r'(?im)<title>
\s*(.+)\s*-\s*Video\s+Dailymotion
</title>', webpage)
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract title')
return