猫了个咪搜索.js 467 B

12345678910111213141516
  1. js:
  2. let bodys = {"keyword":KEY,"page":MY_PAGE};
  3. var fn = rc('maomi_aes.js');
  4. bodys = fn.En(stringify(bodys));
  5. let url = input.split('#')[0];
  6. print(url);
  7. var html = JSON.parse(fn.De(request(url+bodys)));
  8. let d = html.data.data.map(function (data){
  9. return {
  10. title: data.video_name,
  11. img: data.image,
  12. desc:data.rate,
  13. url: 'http://119.28.59.69:8089/api/video/detail?params=;'+fn.En('{"id":"'+data.video_id+'"}'),
  14. }
  15. });
  16. setResult(d);