Saving results to database. Showing webpage.

This commit is contained in:
2019-05-06 02:01:57 +02:00
parent ca0133803a
commit 3df5a821b6
20 changed files with 1141 additions and 439 deletions

View File

@@ -58,7 +58,7 @@ async function scrapeScene(html, url, shootId, ratingRes, site) {
.toDate();
const actors = $(actorsRaw).find('span.names a').map((actorIndex, actorElement) => $(actorElement).text()).toArray();
const description = $('.shoot-info .description').text();
const description = $('.shoot-info .description').text().trim();
const { average: stars } = ratingRes.body;