git://git.jankratochvil.net
/
youtube-dl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c95da74
)
Merge pull request #236 from lra/dailymotion-fix
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 30 Nov 2011 08:57:09 +0000
(
00:57
-0800)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 30 Nov 2011 08:57:09 +0000
(
00:57
-0800)
Fix the DailymotionIE to parse the new title of a webpage
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index
8c4c320
..
042b852
100755
(executable)
--- 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