From a6b2608a833e0033a80e8d2e21503ba1d149a139 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 28 Dec 2025 06:40:17 +0100 Subject: [PATCH] Fixed Kink scraper returning commas in tags. --- seeds/00_tags.js | 3 ++- src/scrapers/kink.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/seeds/00_tags.js b/seeds/00_tags.js index d4ae9dff..47e53d72 100755 --- a/seeds/00_tags.js +++ b/seeds/00_tags.js @@ -2758,7 +2758,8 @@ const priorities = [ // higher index is higher priority ['threesome', 'mfm', 'mff', 'trainbang', 'pissing'], ['anal', 'bukkake'], ['dp', 'dap', 'triple-penetration', 'tap', 'dvp', 'tvp', 'airtight'], - ['gangbang', 'blowbang', 'orgy'], + ['blowbang', 'orgy'], + ['gangbang'], ['gay', 'transsexual', 'bisexual', 'hentai'], ].reduce((acc, slugs, index) => { slugs.forEach((slug) => { acc[slug] = index; }); diff --git a/src/scrapers/kink.js b/src/scrapers/kink.js index 30502347..64235003 100755 --- a/src/scrapers/kink.js +++ b/src/scrapers/kink.js @@ -134,7 +134,7 @@ function scrapeScene({ query }, url, entity) { `https://cdnp.kink.com/imagedb/${release.entryId}/trailer/${release.entryId}_trailer_high.mp4`, ]; - release.tags = query.contents('#shootPage a[href*="/tag"]').map((tag) => tag.trim()); + release.tags = query.contents('#shootPage a[href*="/tag"]').map((tag) => tag.replace(',', '').trim()); release.channel = data?.channelName?.name || slugify(query.url('.shoot-detail-legend a[href*="/channel"]')?.split('/').slice(-1)[0], ''); release.qualities = data?.resolutions