zczc.js 1.0 KB

1234567891011121314151617181920212223242526272829
  1. const baseParse = _ => {
  2. let d = [];
  3. const script = fetch("https://cdn.jsdelivr.net/npm/dos.zczc.cz_vue@2.3.0/dist/js/app.cf392961.js")
  4. const match = script.match(/a301\:.*,b479/)[0]
  5. const js = match.replace('a301:function(e){e.exports=', 'const json = ').replace('},b479', '')
  6. eval(js)
  7. for (let j in json) {
  8. d.push({
  9. title: j,
  10. // desc: parseDomForHtml(list[j], '.mvhdico&&Text'),
  11. pic_url: "https://cdn.jsdelivr.net/npm/dos.zczc.cz_vue/dist/static/games/img/"+j+"/"+json[j].coverFilename,
  12. url: $("https://dos.zczc.cz/games/"+j+"").rule(_ => {
  13. let res = {};
  14. let d = [];
  15. d.push({
  16. desc: '100% && float',
  17. url: MY_URL,
  18. col_type: 'x5_webview_single'
  19. });
  20. res.data = d;
  21. setHomeResult(res);
  22. })
  23. });
  24. }
  25. setResult(d);
  26. }