changed duration fallback
This commit is contained in:
parent
0bd0389bcb
commit
c1c13b29b5
@ -229,7 +229,6 @@ class TwitterCardIE(TwitterBaseIE):
|
|||||||
|
|
||||||
title = self._search_regex(r'<title>([^<]+)</title>', webpage, 'title')
|
title = self._search_regex(r'<title>([^<]+)</title>', webpage, 'title')
|
||||||
thumbnail = config.get('posterImageUrl') or config.get('image_src')
|
thumbnail = config.get('posterImageUrl') or config.get('image_src')
|
||||||
if config.get('duration'):
|
|
||||||
duration = float_or_none(config.get('duration'), scale=10e2) or duration
|
duration = float_or_none(config.get('duration'), scale=10e2) or duration
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user