[tudou] Fix title regex (Fixes #1614)

This commit is contained in:
Philipp Hagemeister 2013-10-18 11:16:11 +02:00
parent 416a5efce7
commit 7c58ef3275

View file

@ -48,7 +48,8 @@ def _real_extract(self, url):
'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)