下载朋友圈视频
POST
/gewe/v2/api/sns/downloadSnsVideo请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
snsXml
string
必需
获取到的朋友圈xml
示例
{
"appId": "{{appid}}",
"snsXml": "<TimelineObject><id>14362242802440999552</id><username>wxid_8zbdraznmhf622</username><createTime>1712112760</createTime><contentDesc>hhhh</contentDesc><contentDescShowType>0</contentDescShowType><contentDescScene>0</contentDescScene><private>0</private><sightFolded>0</sightFolded><showFlag>0</showFlag><appInfo><id></id><version></version><appName></appName><installUrl></installUrl><fromUrl></fromUrl><isForceUpdate>0</isForceUpdate><isHidden>0</isHidden></appInfo><sourceUserName></sourceUserName><sourceNickName></sourceNickName><statisticsData></statisticsData><statExtStr></statExtStr><ContentObject><contentStyle>15</contentStyle><title>微信小视频</title><description>Sight</description><mediaList><media><enc key=\"2997485059\">1</enc><id>14362242803293950611</id><type>6</type><title></title><description>hhhh</description><private>0</private><userData></userData><subType>0</subType><videoSize width=\"720\" height=\"1280\"></videoSize><url type=\"1\" md5=\"e91f4a52d34e4c1334e8c99636f2821b\" videomd5=\"7d7876b15379694899f8a6b5ea0273ec\">http://shzjwxsns.video.qq.com/102/20202/snsvideodownload?encfilekey=WTva9YVXqXcSUicrMCercmGqzPeuNbNeeu9ZqrbBsnKm0QmEwmBELXy9Yrnibdria8Uyz1UwdCpyXhqvwiaRAxVHLuB0rcTBp6zEhUc2ZHD9HjEcPw68CpgMjav3TdXFMnR9SBTFOsiahMDo&token=AxricY7RBHdWLnyNFyR4AOwrBQ2416HD0BiaYaicRHia1AANLTz79sUIJMDhgibIrd1yVicmsQoyth8gE&idx=1&bizid=1023&dotrans=1&dur=10&ef=0_0&hy=SH&ilogo=2&upid=500130</url><thumb type=\"1\">http://vweixinthumb.tc.qq.com/150/20250/snsvideodownload?encfilekey=WTva9YVXqXcSUicrMCercmBpUQNWanXicGFgrN3zItA0icXh48zcxffrFua0M7vPyibE6ZG0FFBwDB7ong1JpPTLNC89ZcyJVJsG7ZYibpo0hXu8Us6PQXBUIWelFZKUFEexAgZWxia5ib6ibvM&token=AxricY7RBHdWLnyNFyR4AOwrBQ2416HD0BiaYaicRHia1AAic3UNt8mjEQHdgfv6Iw06R0sBB36LFDhk&idx=1&bizid=1023&hy=SH</thumb><size width=\"224.000000\" height=\"398.000000\" totalSize=\"458568\"></size><videoDuration>10.434000</videoDuration><VideoColdDLRule><All>CAISBAgWEAEoAjAc</All></VideoColdDLRule></media></mediaList><contentUrl>https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/common_page__upgrade&v=1</contentUrl></ContentObject><actionInfo><appMsg><messageAction></messageAction></appMsg></actionInfo><location poiClassifyId=\"\" poiName=\"\" poiAddress=\"\" poiClassifyType=\"0\" city=\"\"></location><publicUserName></publicUserName><streamvideo><streamvideourl></streamvideourl><streamvideothumburl></streamvideothumburl><streamvideoweburl></streamvideoweburl></streamvideo></TimelineObject>"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
object
必需
fileUrl
string
必需
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"fileUrl": "http://oos-sccd.ctyunapi.cn/20240403/wx_sP8zmJIXLkWupGnKoF/04847c12-cf2a-4850-9b8e-2d3b40190aaa.mp4?AWSAccessKeyId=9e882e7187c38b431303&Expires=1712720598&Signature=i2%2FwckXedEf%2BYvg1Az%2FHJ2VWL9E%3D"
}
}
最后修改时间: 7 个月前