墨墨的经验分享 - 腾讯视频
type: channel
link: http://voidj.com/tag/%E8%85%BE%E8%AE%AF%E8%A7%86%E9%A2%91/
items: 对于限制下载的腾讯VIP视频，抓包分析下载方法的过程

对于限制下载的腾讯VIP视频，抓包分析下载方法的过程
type: item
date: 2019-02-25T10:47:00+08:00
description: 因为一些缘故，需要下载假面骑士时王的最新剧集。但是腾讯VIP视频的最新一话是不提供下载的,于是决定通过抓包工具来获取下载链接.先决条件拥有一个腾讯视频的VIP账号知道怎么通过M3U8下载得到mp4视频尝试：F12开发者工具具体的视频播放页,直接F12打开开发者工具.然后刷新页面.然后弹出了烦人的断点调试窗口,于是放弃了直接F12抓包.1.是时候登场了！抓包利器Fiddlerchrome自带的开发者工具抓包虽然方便,但是很容易被页面检测到.用Fiddler就能解决这个问题了,不过得配置一下才能抓到https(这里省略).先打开 Fiddler ,然后再打开视频播放页面.等待视频加载出来后,观察抓抓到的内容.并没有什么特殊的技巧,就是挨个看看.然后发现了 proxyhttp 的这段 json:{ "ad": "{"adList":{"item":[{"order_id":"1","type":"LD","reportUrl":"http://livep.l.qq.com/livemsg?o=394&r90=1&pf=in&backfunnel=401&soid=CBLMeQAAW+fXfQluSQMOzfucAVxu&adtype=LD&refluence=9&requestl=9&ping_data=JmF4cGhlYWRlcj0xJnR4cGhlYWRlcj0xJnNzcD0zJnVwX3ZlcnNpb249UzM4fHY3LjAuMS45NTgmc2k9MzY2NTg5OTc4NiZ1c2VyX2luZm89dXgzOG1EWTRFUjY2QVAtQlBEc0pFYjBaX3AwPQ==&l=9&vid=m00286u13k7&pf_ex=pc&live=0&aid_tpid=3&aid_tpid2=1204&aid_tpid3=10994&aid_dura=1400&aid_vid_drm=1&aid_cid_drm=0&aid_copyright=971&aid_cover=3lgno5rnllkxq6o&aid_subtype=16&aid_vip_type=2","display_code":"Empty","url":"","duration":"","link":"","shareable":"0","image":[{"index":"0","url":"","width":"0","height":"0","vid":""}],"reportUrlOther":{"reportitem":[]},"reportUrlSDK":{"reportitem":[]},"clickReportUrlOther":{"reportitem":[]},"reportUrlView":{"reportitem":[]}, "is_empty":1},{"order_id":"1","type":"KB","reportUrl":"http://livep.l.qq.com/livemsg?o=394&r90=1&pf=in&backfunnel=401&soid=CBLMeQAAW+fXfQluSQSN2MC1AVxu&adtype=KB&refluence=9&requestl=9&ping_data=JmF4cGhlYWRlcj0xJnR4cGhlYWRlcj0xJnNzcD0zJnVwX3ZlcnNpb249UzM4fHY3LjAuMS45NTgmc2k9MzY2NTg5OTc4NiZ1c2VyX2luZm89dXgzOG1EWTRFUjY2QVAtQlBEc0pFYjBaX3AwPQ==&l=9&vid=m00286u13k7&pf_ex=pc&live=0&aid_tpid=3&aid_tpid2=1204&aid_tpid3=10994&aid_dura=1400&aid_vid_drm=1&aid_cid_drm=0&aid_copyright=971&aid_cover=3lgno5rnllkxq6o&aid_subtype=16&aid_vip_type=2","display_code":"Empty","url":"","duration":"","link":"","shareable":"0","image":[{"index":"0","url":"","width":"0","height":"0","vid":""}],"reportUrlOther":{"reportitem":[]},"reportUrlSDK":{"reportitem":[]},"clickReportUrlOther":{"reportitem":[]},"reportUrlView":{"reportitem":…