del \t symbol of youku title

This commit is contained in:
xyuanmu 2018-10-08 12:50:20 +08:00 committed by GitHub
parent 4b7753f2d4
commit d8bb6ab4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ class Youku(VideoExtractor):
else: else:
log.wtf('Unknown error') log.wtf('Unknown error')
self.title = self.api_data['video']['title'] self.title = self.api_data['video']['title'].replace('\t', '')
stream_types = dict([(i['id'], i) for i in self.stream_types]) stream_types = dict([(i['id'], i) for i in self.stream_types])
audio_lang = self.api_data['stream'][0]['audio_lang'] audio_lang = self.api_data['stream'][0]['audio_lang']