当前位置:网站首页>How to get the address of WeChat video account (link address of WeChat public account)
How to get the address of WeChat video account (link address of WeChat public account)
2022-08-01 11:34:00 【Full stack programmer webmaster】
大家好,又见面了,我是你们的朋友全栈君.
通过微信接口获取微信视频number of video addresses:
First, let’s look at the WeChat video number informationXML内容:
<?xml version="1.0"?>
<msg>
<appmsg appid="" sdkver="0">
<title>The current WeChat version does not support displaying this content,请升级至最新版本.</title>
<des />
<action />
<type>51</type>
<showtype>0</showtype>
<soundtype>0</soundtype>
<mediatagname />
<messageext />
<messageaction />
<content />
<contentattr>0</contentattr>
<url>https://support.weixin.qq.com/security/readtemplate?t=w_security_center_website/upgrade</url>
<lowurl />
<dataurl />
<lowdataurl />
<songalbumurl />
<songlyric />
<appattach>
<totallen>0</totallen>
<attachid />
<emoticonmd5></emoticonmd5>
<fileext />
<cdnthumbaeskey />
<aeskey></aeskey>
</appattach>
<extinfo />
<sourceusername />
<sourcedisplayname />
<thumburl />
<md5 />
<statextstr />
<directshare>0</directshare>
<recorditem><![CDATA[(null)]]></recorditem>
<finderFeed>
<objectId><![CDATA[13792200214367967426]]></objectId>
<feedType><![CDATA[4]]></feedType>
<nickname><![CDATA[Lao Chen product structure design]]></nickname>
<avatar><![CDATA[http://wx.qlogo.cn/finderhead/SYeWkon6C6Jtd1gz9wKSdwzOt9ZXNZj4mGhGgtX2JSqt73XwTI5AWg/0]]></avatar>
<desc><![CDATA[#国足#中国女足#中国足球 女足精神,We always trust]]></desc>
<mediaCount><![CDATA[1]]></mediaCount>
<objectNonceId><![CDATA[12052175326133612216_4_20_13_1]]></objectNonceId>
<liveId><![CDATA[0]]></liveId>
<username><![CDATA[v2_060000231003b[email protected]finder]]></username>
<authIconUrl><![CDATA[]]></authIconUrl>
<authIconType>0</authIconType>
<mediaList>
<media>
<thumbUrl><![CDATA[http://wxapp.tc.qq.com/251/20350/stodownload?encfilekey=oibeqyX228riaCwo9STVsGLIBn9G5YG8ZnJZs7Yk2zHcx9JMwdp7vEK42hyzt3ibE7qtWkVvjFkoaEznjhDjFLr6HoGbvDE9YhM4OugAYsIy2ouYB9xUiaX8UmMWDNGxPTYMcwHdcA5og5I&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&idx=1&m=7928fb21dd4990e2d616a507c868b1db&token=x5Y29zUxcibDjE9JYkmdS0hpQGM3d8WFCuH6NzPCF7B8wJZOkRG8xGNUq9eyOhI4S]]></thumbUrl>
<fullCoverUrl><![CDATA[http://wxapp.tc.qq.com/251/20304/stodownload?encfilekey=oibeqyX228riaCwo9STVsGLIBn9G5YG8ZnDPFFhBkNhDicVGWRL3ac1xH1QJuHj4J2p4o0SIibPlicfDMtZ0xQ57V0aOuicCDF1FWb1jjV055BjqhJar9I9XsRAtZby7ZAIWmhGYKHpmUKh6o&adaptivelytrans=0&bizid=1023&dotrans=0&hy=SZ&idx=1&m=9c67d942aa03563cebc4c4c6ee6bd409&token=cztXnd9GyrG0x7aBXH688fOjlVrfibibh2ZZQVFCciaEEOZPFWqr6IcvYBBCic2y9LjE]]></fullCoverUrl>
<videoPlayDuration><![CDATA[10]]></videoPlayDuration>
<url><![CDATA[http://wxapp.tc.qq.com/251/20302/stodownload?encfilekey=oibeqyX228riaCwo9STVsGLIBn9G5YG8Zn3jmCXSIuM4TgiclBMxmiaJPEoUPf6JomNt9oRbUfqQ8o7zeCL922z0BJsjImAraGOsWg7xicQicIUqDiaocz6iaN4zF5yjzxyNHlmk0M1GQKtflAA&a=1&adaptivelytrans=0&bizid=1023&dotrans=2991&hy=SZ&idx=1&m=fe61ea9b87bdb3f1aae648d781fba17a]]></url>
<coverUrl><![CDATA[]]></coverUrl>
<height><![CDATA[1920]]></height>
<mediaType><![CDATA[4]]></mediaType>
<fullClipInset><![CDATA[]]></fullClipInset>
<width><![CDATA[888]]></width>
</media>
</mediaList>
<megaVideo>
<objectId><![CDATA[]]></objectId>
<objectNonceId><![CDATA[]]></objectNonceId>
</megaVideo>
<bizUsername><![CDATA[]]></bizUsername>
<bizNickname><![CDATA[]]></bizNickname>
<bizAvatar><![CDATA[]]></bizAvatar>
<bizUsernameV2><![CDATA[]]></bizUsernameV2>
<bizAuthIconUrl><![CDATA[]]></bizAuthIconUrl>
<bizAuthIconType>0</bizAuthIconType>
</finderFeed>
</appmsg>
<fromusername>keepmoving8</fromusername>
<scene>0</scene>
<appinfo>
<version>1</version>
<appname />
</appinfo>
<commenturl />
</msg>
有了这个信息,就可以通过<objectId><![CDATA[13792200214367967426]]></objectId>和<objectNonceId><![CDATA[12052175326133612216_4_20_13_1]]></objectNonceId>The value in gets the source address of the video.
通过POSTdata to the WeChat interface:
{
"api":1030,
"param1":"13792200214367967426",
"param2":"12052175326133612216_4_20_13_1"
}
You can get the returnJSON值了:
{
"api":1030,
"port":20023,
"pid":100876,
"wechat":"wxid_yz9trmrddpek12",
"objectId":"13792200214367967426",
"objectNonceId":"12052175326133612216_4_20_13_1",
"msg":"Get video number link",
"url":"https://finder.video.qq.com/251/20302/stodownload?encfilekey=oibeqyX228riaCwo9STVsGLIBn9G5YG8Zn3jmCXSIuM4TgiclBMxmiaJPEoUPf6JomNt9oRbUfqQ8o7zeCL922z0BJsjImAraGOsWg7xicQicIUqDiaocz6iaN4zF5yjzxyNHlmk0M1GQKtflAA&token=AxricY7RBHdV7TzVPJKnibLl5ibXjdMu1W1ccZItSrshygk8yeCXL3zRNn9v9FPaGeddDiaqicqFwibicE&idx=1&a=1&adaptivelytrans=0&bizid=1023&dotrans=2991&hy=SZ&m=fe61ea9b87bdb3f1aae648d781fba17a"
}
This will allow you to play or download the video directly!
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/126865.html原文链接:https://javaforall.cn
边栏推荐
- Sparse representation - study notes
- LeakCanary如何监听Service、Root View销毁时机?
- CAN通信的数据帧和远程帧
- Flutter Widget 如何启用和屏蔽点击事件
- pandas connects to the oracle database and pulls the data in the table into the dataframe, filters all the data from the current time (sysdate) to one hour ago (filters the range data of one hour)
- Aeraki Mesh 正式成为 CNCF 沙箱项目
- sql中ddl和dml(数据库表与视图的区别)
- .NET性能优化-使用SourceGenerator-Logger记录日志
- 【讲座分享】“营收“看金融
- (ES6 and above and TS) Map object to array
猜你喜欢
Pytest电商项目实战(下)
稀疏表示--学习笔记
OpenHarmony高校技术俱乐部计划发布
博弈论(Depu)与孙子兵法(42/100)
Qt获取文件夹下所有文件
Promise to learn several key questions (3) the Promise - state change, execution sequence and mechanism, multitasking series, abnormal penetration, interrupt the chain of Promise
Audio and Video Technology Development Weekly | 256
Qt get all files in a folder
redis6 跟着b站尚硅谷学习
【讲座分享】“营收“看金融
随机推荐
Sparse representation - study notes
[CLion] CLion always prompts "This file does not belong to any project target xxx" solution
通配符SSL证书不支持多域名吗?
Promise to learn several key questions (3) the Promise - state change, execution sequence and mechanism, multitasking series, abnormal penetration, interrupt the chain of Promise
xss-labs靶场挑战
shell--面试题
收藏|机械工程师面试常问问题
《MySQL核心知识》第6章:查询语句
[Nodejs] node的fs模块
OpenHarmony高校技术俱乐部计划发布
分类预测 | MATLAB实现1-DCNN一维卷积神经网络分类预测
ACL 2022 | 文本生成的相关前沿进展
leetcode每日一题:字符串压缩
C#/VB.NET 将PPT或PPTX转换为图像
Promise学习(四)异步编程的终极解决方案async + await:用同步的方式去写异步代码
(ES6 and above and TS) Map object to array
Promise learning (1) What is Promise?how to use?How to solve callback hell?
Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (3) Background Functions
MySQL常用语句总结
重庆市大力实施智能建造,推动建筑业数字化转型,助力“建造强市”