Added teaser support to Dorcel scraper.

This commit is contained in:
DebaucheryLibrarian 2021-02-10 23:46:15 +01:00
parent 5ba2c0ebd3
commit 9aca5baa2b
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ function scrapeAll(scenes, channel) {
const fallbackPoster = query.img('.thumb img');
release.poster = query.sourceSet('.thumb img', 'data-srcset') || [fallbackPoster.replace('_crop', ''), fallbackPoster];
release.trailer = [
query.video('.thumb-ratio', 'data-hq-preview'),
query.video('.thumb-ratio', 'data-preview'),
];
return release;
});
}