From 75432034fea31f6ebbe0f7227aaa0c97cdb2d21f Mon Sep 17 00:00:00 2001 From: zhangzhanming Date: Wed, 28 Jun 2023 21:15:40 +0800 Subject: [PATCH] [extractor/JdItemVideo] Add Extractor. fix some problems --- yt_dlp/extractor/jditemvideo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/jditemvideo.py b/yt_dlp/extractor/jditemvideo.py index a04c858a45..daa9532e44 100644 --- a/yt_dlp/extractor/jditemvideo.py +++ b/yt_dlp/extractor/jditemvideo.py @@ -76,7 +76,7 @@ def _real_extract(self, url): 'ext': ext, 'title': traverse_obj(detailRespJson, ('extInfo', 'videoName'), default="unknown_video_title"), 'description': description, - 'size': traverse_obj(detailRespJson, ("extInfo","size")), + 'size': traverse_obj(detailRespJson, ("extInfo", "size")), 'width': traverse_obj(detailRespJson, ("extInfo", "vwidth")), 'height': traverse_obj(detailRespJson, ("extInfo", "vheight")), 'duration': detailRespJson.get("duration"),