elecV2 / elecV2P-dei

elecV2P 说明文档、使用范例及问题交流
https://t.me/elecV2G
173 stars 80 forks source link

请问怎样获取或导入cookies? #1

Closed ktownag closed 4 years ago

ktownag commented 4 years ago

运行task脚本时没有cookie; 不需要cookie的脚本(比如天气脚本)则提示:The "url" argument must be of type string. Received undefined

elecV2 commented 4 years ago

运行task脚本时没有cookie; 不需要cookie的脚本(比如天气脚本)则提示:The "url" argument must be of type string. Received undefined

cookie 导入和surge/quanx 等软件差不多,设置 rewrite/mitm ,然后通过代理软件把对应域名流量代理到服务器 8001 端口。

出现错误的天气脚本是哪一个?我看一下

ktownag commented 4 years ago

感谢回复。天气脚本 https://raw.githubusercontent.com/nzw9314/QuantumultX/master/Task/minute_forecast.js

elecV2 commented 4 years ago

感谢回复。天气脚本 https://raw.githubusercontent.com/nzw9314/QuantumultX/master/Task/minute_forecast.js

更新一下 runjs/context.js 文件。不过这个脚本好像还是用不了,回头再好好研究一下