diff --git a/js/4khdr.js b/js/4khdr.js index 989a1c2..52ae138 100644 --- a/js/4khdr.js +++ b/js/4khdr.js @@ -37,7 +37,7 @@ var rule = { tabs:`js: pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; TABS=[] -let d = pdfa(html, 'table.t_table a'); +let d = pdfa(html, 'div.pcb table.t_table a'); let tabsa = []; let tabsq = []; let tabsm = false; @@ -80,7 +80,7 @@ log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS); log(TABS); pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; LISTS = []; -let d = pdfa(html, 'table.t_table a'); +let d = pdfa(html, 'div.pcb table.t_table a'); let lista = []; let listq = []; let listm = []; diff --git a/js/funletu.js b/js/funletu.js index 5b501ec..f304d89 100644 --- a/js/funletu.js +++ b/js/funletu.js @@ -64,19 +64,21 @@ let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params)); Object.assign(_fetch_params, postData); log("funletu search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params)); let new_html=post(rule.homeUrl + 'search', _fetch_params); -log("funletu search result>>>>>>>>>>>>>>>" + new_html); +//log("funletu search result>>>>>>>>>>>>>>>" + new_html); let json=JSON.parse(new_html); let d=[] for(const it in json["data"]){ if (json.data.hasOwnProperty(it)){ log("funletu search it>>>>>>>>>>>>>>>" + JSON.stringify(json.data[it])); - d.push({ - title:json.data[it].title, - img:'', - content:json.data[it].updatetime, - desc:json.data[it].updatetime, - url:'push://'+json.data[it].url.split("?")[0] - }); + if (json.data[it].valid === 0){ + d.push({ + title:json.data[it].title, + img:'', + content:json.data[it].updatetime, + desc:json.data[it].updatetime, + url:'push://'+json.data[it].url.split("?")[0] + }); + } } } setResult(d);