[twitter] fixed duration
This commit is contained in:
parent
5113b69124
commit
6c05b8f92c
@ -229,7 +229,7 @@ class TwitterCardIE(TwitterBaseIE):
|
||||
|
||||
title = self._search_regex(r'<title>([^<]+)</title>', webpage, 'title')
|
||||
thumbnail = config.get('posterImageUrl') or config.get('image_src')
|
||||
duration = float_or_none(config.get('duration')) or duration
|
||||
duration = float_or_none(config.get('duration') * 10e-4) or duration
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user