commit 9e9b75ae4d72d158e01a934b88e1197fdb96ec87
parent c95da745bc30db1df511012ff8abbf29fb27413e
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Wed, 30 Nov 2011 00:57:09 -0800
Merge pull request #236 from lra/dailymotion-fix
Fix the DailymotionIE to parse the new title of a webpage
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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