youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 7c58ef3275a2463728528b395fe584815aa6b16a
parent 416a5efce7f70a6a3ef88ac902100fa5211e181e
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Fri, 18 Oct 2013 11:16:11 +0200

[tudou] Fix title regex (Fixes #1614)

Diffstat:
Myoutube_dl/extractor/tudou.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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)