amemv-crawler icon indicating copy to clipboard operation
amemv-crawler copied to clipboard

[Question] Get video metadata

Open tomcangbk opened this issue 6 years ago • 0 comments

hi, using your awesome tool, i want to get newest video so it need the time upload of video(or some extra metadata). I have try to print "contentJson" in function _download_user_media and get (example video in my douyin)

`{

"text_extra":[
],
"statistics":{
    "forward_count":0,
    "digg_count":1,
    "aweme_id":"6656617715224104196"
},
"music":{
},
"author":{
},
"cha_list":{
},
"share_info":{
    "share_weibo_desc":"#在抖音,记录美好生活# @抖音玩家 发了一个抖音短视频,你尽管点开,不好看算我输!戳这里>>",
    "share_title":"@抖音玩家发了一个抖音短视频,你尽管点开,不好看算我输!",
    "share_url":"https://www.amemv.com/share/video/6656617715224104196",
    "share_desc":"抖音-原创音乐短视频社区"
},
"share_url":"",
"aweme_type":0,
"video":{
    "play_addr":{
        "url_list":[
            "https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0300f690000bhh5bbmc400kup5bdfag&line=0",
            "https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0300f690000bhh5bbmc400kup5bdfag&line=1"
        ],
        "uri":"v0300f690000bhh5bbmc400kup5bdfag"
    },
    "height":720,
    "cover":{
        "url_list":[
            "https://p3.pstatp.com/large/1a3050000ebbb4c1978dc.jpg",
            "https://pb9.pstatp.com/large/1a3050000ebbb4c1978dc.jpg",
            "https://pb3.pstatp.com/large/1a3050000ebbb4c1978dc.jpg"
        ],
        "uri":"large/1a3050000ebbb4c1978dc"
    },
    "dynamic_cover":{
        "url_list":[
            "http://p1.pstatp.com/obj/19f8f000c8154cbec65ce",
            "http://pb3.pstatp.com/obj/19f8f000c8154cbec65ce",
            "http://pb3.pstatp.com/obj/19f8f000c8154cbec65ce"
        ],
        "uri":"19f8f000c8154cbec65ce"
    },
    "width":1280
},
"media_type":4,
"aweme_id":"6656617715224104196"

}

`

How to get it, can you explain? Thank you!

tomcangbk avatar Feb 27 '19 14:02 tomcangbk