Fixed description query in Dogfart scraper.

This commit is contained in:
DebaucheryLibrarian 2022-04-03 23:31:36 +02:00
parent acca75e2b5
commit 25e0575c2b
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ async function scrapeScene({ query }, url, channel, baseScene, parameters) {
url: query.url(actorEl, null, 'href', { origin: channel.url }),
}));
release.description = query.meta('meta[itemprop="description"]') || query.cnt('.description').replace(/[ \t\n]{2,}/g, ' ').replace('...read more', '').trim();
release.description = query.meta('meta[itemprop="description"]') || query.cnt('.description, [itemprop="description"]')?.replace(/[ \t\n]{2,}/g, ' ').replace('...read more', '').trim();
release.date = query.date('meta[itemprop="uploadDate"]', null, null, 'content');
release.duration = query.duration('.extra-info p:nth-child(2), .run-time-container');