projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416a5ef
)
[tudou] Fix title regex (Fixes #1614)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 18 Oct 2013 09:16:11 +0000
(11:16 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 18 Oct 2013 09:16:20 +0000
(11:16 +0200)
youtube_dl/extractor/tudou.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tudou.py
b/youtube_dl/extractor/tudou.py
index 79679a14a5ee1703290121e33525411e917c0fb2..7a3891b89b736fb05f4c09d441d7eb56e68d8dcd 100644
(file)
--- a/
youtube_dl/extractor/tudou.py
+++ b/
youtube_dl/extractor/tudou.py
@@
-48,7
+48,8
@@
class TudouIE(InfoExtractor):
'ie_key': 'Youku'
}
- title = self._search_regex(r",kw:['\"](.+?)[\"']", webpage, u'title')
+ title = self._search_regex(
+ r",kw:\s*['\"](.+?)[\"']", webpage, u'title')
thumbnail_url = self._search_regex(
r",pic:\s*[\"'](.+?)[\"']", webpage, u'thumbnail URL', fatal=False)