IdeFun

努力不一定成功,但不努力真的很舒服。

0%

教你如何获取腾讯视频源地址链接

教你如何获取腾讯视频源地址链接

下面以星骸骑士第5集为例获取其视频源链接

1.获取视频vid

image-20210128094307061

本视频的vid为:n003547u6to

2.获取视频相关信息

将获取的vid替换到以下接口地址中的vid

http://vv.video.qq.com/getinfo?vids=n003547u6to&platform=101001&charge=0&otype=json

image-20210128094934650

替换后直接访问此接口地址,得到视频相关信息

image-20210128095135162

3.记录fn值,fvkey值,url值

image-20210128095804655

fn值:n003547u6to.mp4

fvkey值:C6BC3B0988CA19AA2F174E5D78E2B423980D558135C5C2D121533A22C4296B58AC52A0CCA5E0D1F2999B20CF4B4A9DCE560088AA238AFA2DD377158F603EEF853EF7FE56F25027CCEE6856BC6C53C831D055DF618F89D9405DE9A84A9B3D3F183F50B8B26BD49B564C9B733F27791429

url值:http://101.206.186.29/vlive.qqvideo.tc.qq.com/A8q7f567bhHzdteBgaLoRWLtIt01ZxK4F-vSY8TLLzUo/uwMROfz2r5zAoaQXGdGlC2dfDmYqGCmd2Ymfgp6_SfoyIMNz/

4.通过公式组合成源视频链接

组合公式为:url值 + fn值? + vkey值 + fvkey值(注意fn值后面要加个问号)

image-20210128100914780

源视频链接为:http://101.206.186.29/vlive.qqvideo.tc.qq.com/A8q7f567bhHzdteBgaLoRWLtIt01ZxK4F-vSY8TLLzUo/uwMROfz2r5zAoaQXGdGlC2dfDmYqGCmd2Ymfgp6_SfoyIMNz/n003547u6to.mp4?C6BC3B0988CA19AA2F174E5D78E2B423980D558135C5C2D121533A22C4296B58AC52A0CCA5E0D1F2999B20CF4B4A9DCE560088AA238AFA2DD377158F603EEF853EF7FE56F25027CCEE6856BC6C53C831D055DF618F89D9405DE9A84A9B3D3F183F50B8B26BD49B564C9B733F27791429

-------------本文结束感谢您的阅读-------------