diff options
author | Laurent Raufaste <[email protected]> | 2011-11-29 22:30:42 -0500 |
---|---|---|
committer | Laurent Raufaste <[email protected]> | 2011-11-29 22:30:42 -0500 |
commit | 8abf76ddb90c83a5afd7517d4797f3c07bd1cf0f (patch) | |
tree | 76bec58c2c996c2c0a985667243f28f244fabdae | |
parent | c95da745bc30db1df511012ff8abbf29fb27413e (diff) | |
download | youtube-dl-8abf76ddb90c83a5afd7517d4797f3c07bd1cf0f.tar.gz youtube-dl-8abf76ddb90c83a5afd7517d4797f3c07bd1cf0f.zip |
Fix the DailymotionIE to parse the new title of a webpage
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index 8c4c320df..042b85267 100755 --- 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 |