小樱 发表于 2022/3/2 22:14

BitComet比特彗星 网页webgui远程推送批量HTTP下载链接例子 支持文件夹

BitComet比特彗星 网页webgui远程推送批量HTTP下载链接例子 支持文件夹

HTTP推送接口
http://127.0.0.1:1235/panel/task_add_httpftp_result

url: https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/public/Android/20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk
save_path: D:\新建文件夹
connection: 200
file_name: 20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk
referrer: https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
cookie:
checkboxSpeedLimit: on
textSpeedLimit: 500
mirror_url_list: https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/public/Android/20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk?&
https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/public/Android/20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk?&&
https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/public/Android/20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk?&&&
https://bh3rd-app.oss-cn-shanghai.aliyuncs.com/public/Android/20180329-android_versions_v2_2_the_Guardian_of_shenzhou_guofu.apk?&&&&

还有其它参数,可以通过f12抓包获取,例如同时传递cookie等头部信息到镜像链接
checkboxCustomHeadersForMirrors: on


某网盘实现webgui推送案例效果视频
https://www.bilibili.com/video/BV1Wb4y1W77G

同时还可以设置专用链接,在浏览器上点击直接呼出下载
https://bbs.itzmx.com/thread-99910-1-1.html

尝试浏览器上生成bat文件到本地电脑执行curl来推送解决post跨域问题
https://bbs.itzmx.com/thread-100610-1-1.html

js解析脚本实现
https://github.com/syhyz1990/baiduyun/issues/91

页: [1]
查看完整版本: BitComet比特彗星 网页webgui远程推送批量HTTP下载链接例子 支持文件夹