summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRicardo Garcia <[email protected]>2011-01-21 18:16:33 +0100
committerRicardo Garcia <[email protected]>2011-01-21 18:16:33 +0100
commitc02d8e404019975060b195b7c7b6fb39944e321b (patch)
treeed6a6c62f2c04cbb6aa3a23f1f0f75df17797db3
parent0f6b00b587e9b47919555f9c250b753419063b46 (diff)
downloadyoutube-dl-c02d8e404019975060b195b7c7b6fb39944e321b.tar.gz
youtube-dl-c02d8e404019975060b195b7c7b6fb39944e321b.zip
Fix dailymotion support (closes #60)
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 103189b21..869a32b0a 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1302,7 +1302,7 @@ class DailymotionIE(InfoExtractor):
video_title = mobj.group(1).decode('utf-8')
video_title = sanitize_title(video_title)
- mobj = re.search(r'(?im)<div class="dmco_html owner">.*?<a class="name" href="/.+?">(.+?)</a>', webpage)
+ mobj = re.search(r'(?im)<Attribute name="owner">(.+?)</Attribute>', webpage)
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
return