mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-17 08:11:41 +00:00
[cleanup] Misc (#11347)
Closes #11361 Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev Co-authored-by: Ava Gordon <[email protected]> Co-authored-by: bashonly <[email protected]> Co-authored-by: N/Ame <[email protected]> Co-authored-by: Simon Sawicki <[email protected]>
This commit is contained in:
co-authored by
Ava Gordon
bashonly
N/Ame
Simon Sawicki
parent
b03267bf06
commit
197d0b03b6
@@ -1,4 +1,3 @@
|
||||
import functools
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
@@ -72,9 +71,9 @@ class VidyardBaseIE(InfoExtractor):
|
||||
'id': ('facadeUuid', {str}),
|
||||
'display_id': ('videoId', {int}, {str_or_none}),
|
||||
'title': ('name', {str}),
|
||||
'description': ('description', {str}, {unescapeHTML}, {lambda x: x or None}),
|
||||
'description': ('description', {str}, {unescapeHTML}, filter),
|
||||
'duration': ((
|
||||
('milliseconds', {functools.partial(float_or_none, scale=1000)}),
|
||||
('milliseconds', {float_or_none(scale=1000)}),
|
||||
('seconds', {int_or_none})), any),
|
||||
'thumbnails': ('thumbnailUrls', ('small', 'normal'), {'url': {url_or_none}}),
|
||||
'tags': ('tags', ..., 'name', {str}),
|
||||
|
||||
Reference in New Issue
Block a user