mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 13:13:06 +00:00
[extractor/JdItemVideo] Add Extractor. fix some problems
This commit is contained in:
parent
48e821ab16
commit
75432034fe
@ -76,7 +76,7 @@ class JdItemVideoIE(InfoExtractor):
|
|||||||
'ext': ext,
|
'ext': ext,
|
||||||
'title': traverse_obj(detailRespJson, ('extInfo', 'videoName'), default="unknown_video_title"),
|
'title': traverse_obj(detailRespJson, ('extInfo', 'videoName'), default="unknown_video_title"),
|
||||||
'description': description,
|
'description': description,
|
||||||
'size': traverse_obj(detailRespJson, ("extInfo","size")),
|
'size': traverse_obj(detailRespJson, ("extInfo", "size")),
|
||||||
'width': traverse_obj(detailRespJson, ("extInfo", "vwidth")),
|
'width': traverse_obj(detailRespJson, ("extInfo", "vwidth")),
|
||||||
'height': traverse_obj(detailRespJson, ("extInfo", "vheight")),
|
'height': traverse_obj(detailRespJson, ("extInfo", "vheight")),
|
||||||
'duration': detailRespJson.get("duration"),
|
'duration': detailRespJson.get("duration"),
|
||||||
|
Loading…
Reference in New Issue
Block a user