搜狗免嗅.js 450 B

1234567891011121314151617
  1. js:
  2. // fetch_params.withHeaders = 1;
  3. // let data=fetch(input,fetch_params);
  4. // let html = data.body;
  5. print(input);
  6. fetch_params.headers['User-Agent'] = MOBILE_UA;
  7. print(fetch_params);
  8. let html=request(input);
  9. // let rurl = html.match(/window\.open\('(.*?)',/)[1].split('?')[0];
  10. let rurl = html.match(/window\.open\('(.*?)',/)[1];
  11. // print(rurl);
  12. rurl = urlDeal(rurl);
  13. // print(rurl);
  14. // input = rurl;
  15. input = {parse:1,jx:1,url:rurl};
  16. // print(html);