Returning window.document instead of element as document from q. Fixed actor collisions when scrapers return same scene multiple times. Scraping all Score actor release pages. Fixed 21Sextury and PureTaboo photo scraping.

This commit is contained in:
2020-02-05 23:57:55 +01:00
parent 75dbe2548a
commit d4801bb240
6 changed files with 36 additions and 13 deletions

View File

@@ -90,7 +90,7 @@ async function scrapeScene(html, url, site) {
const poster = videoData.picPreview;
const trailer = `${videoData.playerOptions.host}${videoData.url}`;
const photos = await getPhotos($('.picturesItem a').attr('href'), '21sextury.com', site);
const photos = await getPhotos($('.picturesItem a').attr('href'), site);
const tags = data.keywords.split(', ');
const siteName = data.productionCompany ? data.productionCompany.name : $('#logoLink a').attr('title');