From 405db5e002d6b5ce29b0cfbce8f019fc78ebd3ec Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Thu, 13 Jun 2024 02:16:03 +0200 Subject: [PATCH] Solidifed New Sensations entry ID. Updated Four Finger Club to Girl Girl XXX. --- seeds/02_sites.js | 13 +++++++++---- src/scrapers/newsensations.js | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/seeds/02_sites.js b/seeds/02_sites.js index 13515b92..cbb93271 100755 --- a/seeds/02_sites.js +++ b/seeds/02_sites.js @@ -7683,11 +7683,16 @@ const sites = [ parameters: { siteId: 'sos' }, }, { - slug: 'fourfingerclub', - name: 'Four Finger Club', - url: 'https://www.fourfingerclub.com', + slug: 'girlgirlxxx', + name: 'Girl Girl XXX', + url: 'https://www.girlgirlxxx.com/', + alias: ['four finger club', 'fourfingerclub'], + rename: 'fourfingerclub', parent: 'newsensations', - parameters: { siteId: 'ffc' }, + parameters: { + siteId: 'girlgirlxxx', + layout: 'block', + }, }, { slug: 'ashlynnbrooke', diff --git a/src/scrapers/newsensations.js b/src/scrapers/newsensations.js index 4ac93acc..9cf60f1c 100755 --- a/src/scrapers/newsensations.js +++ b/src/scrapers/newsensations.js @@ -43,7 +43,7 @@ function scrapeLatestClassic(scenes) { : actors; // native videothumb entry ID does not occur on scene page, date is not available on all sites - release.entryId = slugify([...[].concat(release.actors || []).sort(), release.title]); + release.entryId = slugify(release.title.slice(0, 30)); // title is cut-off at about 35 characters, make sure it matches deep scrape. Not all actors listed. const photoCount = query.number('.update_thumb', { attribute: 'cnt' }); @@ -103,7 +103,7 @@ async function scrapeSceneClassic({ query }, context, options) { url: unprint.query.url(actorEl, null), })); - release.entryId = slugify([...release.actors.map((actor) => actor.name).sort(), release.title]); + release.entryId = slugify(release.title.slice(0, 30)); // overview titles are cut off, make sure entry IDs match. Actors don't match front page release.tags = query.contents('.update_tags a'); release.stars = query.number('.gallery_info', { match: /average\s+rating:\s+(\d+\.\d+)/i, matchIndex: 1 });