projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6b00b
)
Fix dailymotion support (closes #60)
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Fri, 21 Jan 2011 17:16:33 +0000
(18:16 +0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Fri, 21 Jan 2011 17:16:33 +0000
(18:16 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 103189b21f1c317e058e91fa3f8a02056f6c70f1..869a32b0ac38f5c4f20c38f1066b623b0dd74cd1 100755
(executable)
--- 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