From e0b00b7776d524eee7974559c942896bb8725a1f Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 3 Jun 2026 04:34:31 +0200 Subject: [PATCH] Added support for older Vilde title tags. --- seeds/00_tags.js | 8 ++++++++ src/scrapers/acam.js | 14 +++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/seeds/00_tags.js b/seeds/00_tags.js index 229f4a7e..21af5ea3 100755 --- a/seeds/00_tags.js +++ b/seeds/00_tags.js @@ -3084,6 +3084,14 @@ const aliases = [ name: 'stepmom', for: 'family', }, + { + name: 'ass2mouth', + for: 'atm', + }, + { + name: 'fist', + for: 'fisting', + }, ]; const priorities = [ // higher index is higher priority diff --git a/src/scrapers/acam.js b/src/scrapers/acam.js index 1b6ec04b..c45d26e6 100755 --- a/src/scrapers/acam.js +++ b/src/scrapers/acam.js @@ -12,11 +12,19 @@ function extractEntryId(poster) { } } -function extractTags(title) { - if (!title) { +function extractTags(title, titleComment) { + if (!title && !titleComment) { return []; } + if (titleComment?.includes('')) { + const tagsMatch = titleComment.match(/(.*?)<\/i>/)?.[1]; + + if (tagsMatch) { + return tagsMatch.split('-').map((tag) => tag.trim().toLowerCase()); + } + } + const firstTagIndex = title.match(/[A-Z]{2}/)?.index; if (firstTagIndex) { @@ -62,7 +70,7 @@ function scrapeAll(scenes, channel, parameters) { release.forceDeep = true; release.title = query.content('a h5, .product-content p, .video_text'); - release.tags = extractTags(release.title); + release.tags = extractTags(release.title, query.content('//a/comment()')); const { poster, photos } = getPhotos(query.img('img[src*="/videos/images"], img[src*="/uploads/images"]'));