mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
[extractor/JdItemVideo] Add Extractor. fix some problems
This commit is contained in:
parent
48e821ab16
commit
75432034fe
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue