mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-25 04:05:17 +08:00
13 lines
307 B
Plaintext
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);
|
|
} |