aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/wevidi.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/wevidi.py')
-rw-r--r--yt_dlp/extractor/wevidi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/wevidi.py b/yt_dlp/extractor/wevidi.py
index 0db52af43..88b394fa2 100644
--- a/yt_dlp/extractor/wevidi.py
+++ b/yt_dlp/extractor/wevidi.py
@@ -78,7 +78,7 @@ class WeVidiIE(InfoExtractor):
}
src_path = f'{wvplayer_props["srcVID"]}/{wvplayer_props["srcUID"]}/{wvplayer_props["srcNAME"]}'
- for res in traverse_obj(wvplayer_props, ('resolutions', ..., {int}, {lambda x: x or None})):
+ for res in traverse_obj(wvplayer_props, ('resolutions', ..., {int}, filter)):
format_id = str(-(res // -2) - 1)
yield {
'acodec': 'mp4a.40.2',