From 9aca5baa2bee8e90c1db51aaf2c83185598c7d48 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 10 Feb 2021 23:46:15 +0100 Subject: [PATCH] Added teaser support to Dorcel scraper. --- src/scrapers/dorcel.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scrapers/dorcel.js b/src/scrapers/dorcel.js index 0fe74264..a36c1c44 100644 --- a/src/scrapers/dorcel.js +++ b/src/scrapers/dorcel.js @@ -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; }); }