1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

Fix the DailymotionIE to parse the new title of a webpage

This commit is contained in:
Laurent Raufaste 2011-11-29 22:30:42 -05:00
parent c95da745bc
commit 8abf76ddb9

View file

@ -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