|
|
|
@ -41,12 +41,12 @@ let customparse = { |
|
|
|
|
}; |
|
|
|
|
let doghtml = request('https://www.dianyinggou.com/SpiderMovie/zy/' + dogname, {headers: headers}); |
|
|
|
|
let htmls = pdfa(doghtml, "body&&a"); |
|
|
|
|
htmls.forEach(item=>{ |
|
|
|
|
let sitename = pdfh(item, "body&&li,1&&Text"); |
|
|
|
|
let vodname = pdfh(item, "body&&li,0&&Text"); |
|
|
|
|
let vodurl = pdfh(item, "body&&href"); |
|
|
|
|
for(let i in htmls){ |
|
|
|
|
let sitename = pdfh(htmls[i], "body&&li,1&&Text"); |
|
|
|
|
let vodname = pdfh(htmls[i], "body&&li,0&&Text"); |
|
|
|
|
let vodurl = pdfh(htmls[i], "body&&href"); |
|
|
|
|
lists.push({name:vodname,pic:dogpic,url:vodurl,site:sitename}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
log(lists); |
|
|
|
|