diff --git a/js/dygang.js b/js/dygang.js index 654b2f1..5499ffd 100644 --- a/js/dygang.js +++ b/js/dygang.js @@ -230,7 +230,7 @@ let dlist = pdfa(search_html, 'table.border1'); dlist.forEach(function(it){ let title = pdfh(it, 'img&&alt'); if (searchObj.quick === true){ - if (title.includes(KEY)){ + if (false && title.includes(KEY)){ title = KEY; } } diff --git a/js/mp4us.js b/js/mp4us.js index f4e6419..3a6efe3 100644 --- a/js/mp4us.js +++ b/js/mp4us.js @@ -157,7 +157,7 @@ let dlist = pdfa(search_html, 'div#list_all li'); dlist.forEach(function(it){ let title = pdfh(it, 'img.lazy&&alt'); if (searchObj.quick === true){ - if (title.includes(KEY)){ + if (false && title.includes(KEY)){ title = KEY; } } diff --git a/js/qimiao.js b/js/qimiao.js new file mode 100644 index 0000000..d67466c --- /dev/null +++ b/js/qimiao.js @@ -0,0 +1,63 @@ +var rule = { + title:'奇妙搜[夸]', + host:'https://www.magicalsearch.top', + homeUrl:'/', + url: '/search?', + filter_url:'{{fl.class}}', + filter:{ + }, + 搜索编码: 'utf-8', + searchUrl: '/api/pshou/getData?type=%E9%98%BF%E9%87%8C%E7%BD%91%E7%9B%98&word=**', + searchable:2, + quickSearch:0, + filterable:0, + headers:{ + 'User-Agent': PC_UA, + 'Accept': '*/*', + 'Referer': 'https://www.magicalsearch.top/' + }, + timeout:5000, + class_name:'', + class_url:'', + play_parse:true, + play_json:[{ + re:'*', + json:{ + parse:0, + jx:0 + } + }], + lazy:'', + limit:6, + 推荐:'', + 一级:'', + 二级:`js: +VOD.vod_play_from = "網盤"; +VOD.vod_remarks = detailUrl; +VOD.vod_actor = "沒有二級,只有一級鏈接直接推送播放"; +VOD.vod_content = MY_URL; +VOD.vod_play_url = "播放$" + detailUrl; +`, + 搜索:`js: +let new_html=request(input); +//log("qimiao search result>>>>>>>>>>>>>>>" + new_html); +let json=JSON.parse(JSON.parse(new_html)); +json = json.result.items; +let d=[]; +for(const it in json){ + if (json.hasOwnProperty(it)){ + log("qimiao search it>>>>>>>>>>>>>>>" + JSON.stringify(json[it])); + if (json[it].title.includes(KEY)){ + d.push({ + title:json[it].title, + img:'', + content:json[it].content.title, + desc:json[it].insert_time, + url:'push://'+json[it].page_url + }); + } + } +} +setResult(d); +`, +} diff --git a/js/xb6v.js b/js/xb6v.js index 8936a3d..d0d6438 100644 --- a/js/xb6v.js +++ b/js/xb6v.js @@ -258,7 +258,7 @@ let dlist = pdfa(search_html, 'div.mainleft&&ul#post_container&&li'); dlist.forEach(function(it){ let title = pdfh(it, 'div.thumbnail img&&alt').replace( /(<([^>]+)>)/ig, ''); if (searchObj.quick === true){ - if (title.includes(KEY)){ + if (false && title.includes(KEY)){ title = KEY; } }