dr_py/jiexi/图片.jsi
2023-04-23 21:04:12 +08:00

13 lines
307 B
Plaintext

let url_tmp = vipUrl.split('@');
let url = url_tmp[0];
let headers = {};
url_tmp.slice(1).forEach(function (it){
headers[it.split('=')[0]] = it.split('=')[1];
});
let html = request(vipUrl,{headers:headers});
print(html.length);
try {
realUrl = image(html);
}catch (e) {
print('发生了错误:'+e);
}