Browse Source

[tudou] Fix title regex (Fixes #1614)

rtmp_test
Philipp Hagemeister 11 years ago
parent
commit
7c58ef3275
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/tudou.py

+ 2
- 1
youtube_dl/extractor/tudou.py View File

@ -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)


Loading…
Cancel
Save