|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|