forked from DebaucheryLibrarian/traxxx
Fixed description query in Dogfart scraper.
This commit is contained in:
parent
acca75e2b5
commit
25e0575c2b
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue