当前位置:网站首页>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
边栏推荐
- Envoy source code flow chart
- Promise学习(三)Promise的几个关键性问题 -- 状态改变、执行顺序与机制、多任务串联、异常穿透、中断promise链
- NIO‘s Sword(思维,取模,推公式)
- How do programmers solve online problems gracefully?
- Mini Program Graduation Works WeChat Food Recipes Mini Program Graduation Design Finished Products (3) Background Functions
- Tencent Cloud Native: Service Mesh Practice of Areaki Mesh in the 2022 Winter Olympics Video Live Application
- 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)
- redis6 跟着b站尚硅谷学习
- CAN通信标准帧和扩展帧介绍
- Basic configuration commands of cisco switches (what is the save command of Huawei switches)
猜你喜欢
随机推荐
xss漏洞学习
Tencent Cloud Native: Service Mesh Practice of Areaki Mesh in the 2022 Winter Olympics Video Live Application
图解MySQL内连接、外连接、左连接、右连接、全连接......太多了
千万级乘客排队系统重构&压测方案——总结篇
JS 中的 undefined 和 null 的区别
Promise学习(一)Promise是什么?怎么用?回调地狱怎么解决?
轮询和长轮询的区别
腾讯云原生:Areaki Mesh 在 2022 冬奥会视频直播应用中的服务网格实践
Small application project works WeChat gourmet recipes applet graduation design of finished product (1) the development profile
Pytest e-commerce project combat (below)
博弈论(Depu)与孙子兵法(42/100)
.NET深入解析LINQ框架(三:LINQ优雅的前奏)
【无标题】
pgAdmin 4 v6.12 发布,PostgreSQL 开源图形化管理工具
解决vscode输入! 无法快捷生成骨架(新版vscode快速生成骨架的三种方法)
js中常用追加元素的几种方法:append,appendTo,after,before,insertAfter,insertBefore,appendChild
leetcode/子矩阵元素和
【Unity3D插件】AVPro Video插件分享《视频播放插件》
从零开始Blazor Server(4)--登录系统
How to use DevExpress controls to draw flowcharts?After reading this article, you will understand!









