diff options
| author | sepro <sepro@sepr0.com> | 2024-11-04 01:33:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 01:33:21 +0100 |
| commit | 197d0b03b6a3c8fe4fa5ace630eeffec629bf72c (patch) | |
| tree | 577bda6784f8c1dbd9bcdf5e3a524a3c3c650f75 /yt_dlp/extractor/kick.py | |
| parent | b03267bf0675eeb8df5baf1daac7cf67840c91a5 (diff) | |
[cleanup] Misc (#11347)
Closes #11361
Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev
Co-authored-by: Ava Gordon <avagordon01@gmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'yt_dlp/extractor/kick.py')
| -rw-r--r-- | yt_dlp/extractor/kick.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/kick.py b/yt_dlp/extractor/kick.py index bd21e5950..1f001d421 100644 --- a/yt_dlp/extractor/kick.py +++ b/yt_dlp/extractor/kick.py @@ -1,4 +1,3 @@ -import functools from .common import InfoExtractor from ..networking import HEADRequest @@ -137,7 +136,7 @@ class KickVODIE(KickBaseIE): 'uploader': ('livestream', 'channel', 'user', 'username', {str}), 'uploader_id': ('livestream', 'channel', 'user_id', {int}, {str_or_none}), 'timestamp': ('created_at', {parse_iso8601}), - 'duration': ('livestream', 'duration', {functools.partial(float_or_none, scale=1000)}), + 'duration': ('livestream', 'duration', {float_or_none(scale=1000)}), 'thumbnail': ('livestream', 'thumbnail', {url_or_none}), 'categories': ('livestream', 'categories', ..., 'name', {str}), 'view_count': ('views', {int_or_none}), |
