From ec4e7bc12ad241189cba43f104fa47aff96c8689 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 5 Dec 2021 23:59:17 +0100 Subject: [PATCH] Updated Jules Jordan scraper for Sperm Swallowers and The Ass Factory. --- src/scrapers/julesjordan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scrapers/julesjordan.js b/src/scrapers/julesjordan.js index d998d6c7..1368640b 100644 --- a/src/scrapers/julesjordan.js +++ b/src/scrapers/julesjordan.js @@ -136,10 +136,10 @@ function getEntryId(html) { function scrapeAll(scenes, site, entryIdFromTitle) { return scenes.map(({ el, query }) => { const release = {}; - const title = query.cnt('.content_img div, .dvd_info > a, a.update_title, a[title*=" "]'); + const title = query.cnt('.content_img div, .dvd_info > a, a.update_title, a[title] + a[title]') || query.cnt('a[title*=" "]'); release.title = title?.slice(0, title.match(/starring:/i)?.index || Infinity).trim(); - release.url = query.url('.content_img a, .dvd_info > a, a.update_title, a[title]'); + release.url = query.url('.content_img a, .dvd_info > a, a.update_title, a[title*=" "]'); release.date = query.date('.update_date', 'MM/DD/YYYY'); release.entryId = (entryIdFromTitle && slugify(release.title)) || el.dataset.setid || query.q('.rating_box')?.dataset.id;