Fixed actor list and title trimming for Jules Jordan scraper.
This commit is contained in:
parent
23e6d46052
commit
c60ceeabfa
|
@ -71,12 +71,12 @@ function scrapeUpcoming(html, site) {
|
|||
async function scrapeScene(html, url, site) {
|
||||
const $ = cheerio.load(html, { normalizeWhitespace: true });
|
||||
|
||||
const title = $('.title_bar_hilite').text();
|
||||
const title = $('.title_bar_hilite').text().trim();
|
||||
const date = moment
|
||||
.utc($('.update_date').text(), 'MM/DD/YYYY')
|
||||
.toDate();
|
||||
|
||||
const actors = $('.update_description + .update_models a')
|
||||
const actors = $('.backgroundcolor_info > .update_models a')
|
||||
.map((_actorIndex, actorElement) => $(actorElement).text())
|
||||
.toArray();
|
||||
|
||||
|
|
Loading…
Reference in New Issue