aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-11-30 10:00:36 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2011-11-30 10:00:36 +0100
commit40fd4cb86ae4b99e1fb0572e5e24f85a4782a07d (patch)
treef1def3e3ea525249cbaede9d0b6fdcae89492924 /youtube_dl/__init__.py
parent9e9b75ae4d72d158e01a934b88e1197fdb96ec87 (diff)
Move merged code to dev version
Diffstat (limited to 'youtube_dl/__init__.py')
-rwxr-xr-xyoutube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 8c4c320df..042b85267 100755
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -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