forked from DebaucheryLibrarian/traxxx
Added teaser support to Dorcel scraper.
This commit is contained in:
parent
5ba2c0ebd3
commit
9aca5baa2b
|
@ -20,6 +20,11 @@ function scrapeAll(scenes, channel) {
|
||||||
const fallbackPoster = query.img('.thumb img');
|
const fallbackPoster = query.img('.thumb img');
|
||||||
release.poster = query.sourceSet('.thumb img', 'data-srcset') || [fallbackPoster.replace('_crop', ''), fallbackPoster];
|
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;
|
return release;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue