[extractor/generic] Add test for wistia standard embed
This commit is contained in:
parent
aa5957ac49
commit
7ded6545ed
2 changed files with 18 additions and 1 deletions
|
@ -4,6 +4,7 @@ from .common import InfoExtractor
|
|||
from ..utils import (
|
||||
ExtractorError,
|
||||
int_or_none,
|
||||
float_or_none,
|
||||
)
|
||||
|
||||
|
||||
|
@ -92,6 +93,6 @@ class WistiaIE(InfoExtractor):
|
|||
'description': data.get('seoDescription'),
|
||||
'formats': formats,
|
||||
'thumbnails': thumbnails,
|
||||
'duration': int_or_none(data.get('duration')),
|
||||
'duration': float_or_none(data.get('duration')),
|
||||
'timestamp': int_or_none(data.get('createdAt')),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue