diff options
author | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2011-01-21 18:16:33 +0100 |
---|---|---|
committer | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2011-01-21 18:16:33 +0100 |
commit | c02d8e404019975060b195b7c7b6fb39944e321b (patch) | |
tree | ed6a6c62f2c04cbb6aa3a23f1f0f75df17797db3 | |
parent | 0f6b00b587e9b47919555f9c250b753419063b46 (diff) |
Fix dailymotion support (closes #60)
-rwxr-xr-x | youtube-dl | 2 |
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 |