Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
3d754238ac 1.244.92 2025-12-28 06:40:20 +01:00
DebaucheryLibrarian
a6b2608a83 Fixed Kink scraper returning commas in tags. 2025-12-28 06:40:17 +01:00
4 changed files with 6 additions and 5 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.244.91",
"version": "1.244.92",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.244.91",
"version": "1.244.92",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

@@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.244.91",
"version": "1.244.92",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@@ -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; });

View File

@@ -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