From 9c926a1d8128cb3024b06b188a57dbf789c27f86 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 27 Dec 2020 23:36:15 +0100 Subject: [PATCH] Fixed Mike Adriano dates for scene pages. --- src/scrapers/mikeadriano.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scrapers/mikeadriano.js b/src/scrapers/mikeadriano.js index 849b4ef2..0cf35c0d 100644 --- a/src/scrapers/mikeadriano.js +++ b/src/scrapers/mikeadriano.js @@ -10,6 +10,7 @@ async function scrapeAll(scenes) { release.title = query.cnt('h3.title a, .content-title-wrap a'); release.url = query.url('h3.title a, .content-title-wrap a'); + release.entryId = new URL(release.url).pathname.match(/\/view\/(\d+)/)[1]; release.description = query.cnt('.desc, .content-description'); @@ -39,7 +40,7 @@ function scrapeScene({ query }, url) { release.title = query.cnt('.content-page-info .title'); release.description = query.cnt('.content-page-info .desc'); - release.date = query.date('.content-page-info .date, .content-page-info .hide', 'Do MMM YYYY'); + release.date = query.date('.content-page-info .date, .content-page-info .hide, .post-date', 'Do MMM YYYY'); release.actors = query.cnts('.content-page-info .models a'); release.duration = query.dur('.content-page-info .total-time:last-child');