diff --git a/SrcJyCustomJk.js b/SrcJyCustomJk.js index 45b29c65..bd5b4df3 100644 --- a/SrcJyCustomJk.js +++ b/SrcJyCustomJk.js @@ -43,10 +43,13 @@ let customparse = { let htmls = pdfa(doghtml, "body&&a"); log(htmls.length) htmls.forEach(it=>{ + /* let sitename = pdfh(it, "a&&li,1&&Text"); let vodname = pdfh(it, "a&&li,0&&Text"); let vodurl = pdfh(it, "a&&href"); lists.push({name:vodname,pic:dogpic,url:vodurl,site:sitename}) + */ + log(it) }) } }) @@ -74,12 +77,14 @@ let customparse = { id: item.url } }); - be(doglist, { - func: function(obj, id, error, taskResult) { - }, - param: { - } - }); + if(doglist.length>0){ + be(doglist, { + func: function(obj, id, error, taskResult) { + }, + param: { + } + }); + } return list; } }