Closed yeoxeo closed 3 years ago
感谢反馈,无法得到live视频有效地址,目前不支持下载。
感谢反馈,无法得到live视频有效地址,目前不支持下载。
action-data pic_video STK.register("lib.feed.plugins.media" 里面有阿
感谢反馈,无法得到live视频有效地址,目前不支持下载。
action-data pic_video STK.register("lib.feed.plugins.media" 里面有阿
你好,这段文字仿佛乱码了。
我刚才确认了一下,对于 live,weibo.cn (本程序的爬取站点)只能获取到封面图片。 烦请您请给出具体的用户id,状态id,以及相应的视频链接。
用户 https://weibo.com/tiexuelong?profile_ftype=1&is_all=1#_0 比如这个视频 https://video.weibo.com/media/play?livephoto=//us.sinaimg.cn/001Kmr5Egx07Ndx0EUoT0f0f0100azlV0k01.mov&KID=unistore,videomovSrc
可以在html中找到视频id: 001Kmr5Egx07Ndx0EUoT0f0f0100azlV0k01 是在.media_box ul的action-data属性的pic_video参数中
页面会通过FM.view(域名$CONFIG['mJsPath'])加载 page/js/pl/content/homeFeed/index.js 通过STK.register调用lib.feed.plugins.media模块 把pic_video中的视频id转成"//us.sinaimg.cn/" + a[1] + ".mov" 通过STK.register调用lib.image.livephoto模块 再把上面的转换成f.src = "//video.weibo.com/media/play?livephoto=" + c + "&KID=unistore,videomovSrc"; 要获取js的内容确实不好处理 感觉人为设置更新链接方便点 //video.weibo.com/media/play?livephoto=//us.sinaimg.cn/${ID}.mov&KID=unistore,videomovSrc
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing as stale, please reopen if you'd like to work on this further.
问:请说明需要什么新功能。
答:下载视频
问:请说明添加该功能的意义。(非必填)
答: