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/kika.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/kika.py')
-rw-r--r-- | yt_dlp/extractor/kika.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/kika.py b/yt_dlp/extractor/kika.py index 852a4de3f..69f4a3ce0 100644 --- a/yt_dlp/extractor/kika.py +++ b/yt_dlp/extractor/kika.py @@ -119,7 +119,7 @@ class KikaIE(InfoExtractor): 'width': ('frameWidth', {int_or_none}), 'height': ('frameHeight', {int_or_none}), # NB: filesize is 0 if unknown, bitrate is -1 if unknown - 'filesize': ('fileSize', {int_or_none}, {lambda x: x or None}), + 'filesize': ('fileSize', {int_or_none}, filter), 'abr': ('bitrateAudio', {int_or_none}, {lambda x: None if x == -1 else x}), 'vbr': ('bitrateVideo', {int_or_none}, {lambda x: None if x == -1 else x}), }), |