mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-24 11:07:06 -05:00
[tudou] Fix title regex (Fixes #1614)
This commit is contained in:
parent
416a5efce7
commit
7c58ef3275
@ -48,7 +48,8 @@ class TudouIE(InfoExtractor):
|
|||||||
'ie_key': 'Youku'
|
'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(
|
thumbnail_url = self._search_regex(
|
||||||
r",pic:\s*[\"'](.+?)[\"']", webpage, u'thumbnail URL', fatal=False)
|
r",pic:\s*[\"'](.+?)[\"']", webpage, u'thumbnail URL', fatal=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user