Compare commits

..

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
d415e2c4f9 1.252.19 2026-06-03 04:34:35 +02:00
DebaucheryLibrarian
e0b00b7776 Added support for older Vilde title tags. 2026-06-03 04:34:31 +02:00
4 changed files with 22 additions and 6 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@@ -3084,6 +3084,14 @@ const aliases = [
name: 'stepmom', name: 'stepmom',
for: 'family', for: 'family',
}, },
{
name: 'ass2mouth',
for: 'atm',
},
{
name: 'fist',
for: 'fisting',
},
]; ];
const priorities = [ // higher index is higher priority const priorities = [ // higher index is higher priority

View File

@@ -12,11 +12,19 @@ function extractEntryId(poster) {
} }
} }
function extractTags(title) { function extractTags(title, titleComment) {
if (!title) { if (!title && !titleComment) {
return []; return [];
} }
if (titleComment?.includes('<i>')) {
const tagsMatch = titleComment.match(/<i>(.*?)<\/i>/)?.[1];
if (tagsMatch) {
return tagsMatch.split('-').map((tag) => tag.trim().toLowerCase());
}
}
const firstTagIndex = title.match(/[A-Z]{2}/)?.index; const firstTagIndex = title.match(/[A-Z]{2}/)?.index;
if (firstTagIndex) { if (firstTagIndex) {
@@ -62,7 +70,7 @@ function scrapeAll(scenes, channel, parameters) {
release.forceDeep = true; release.forceDeep = true;
release.title = query.content('a h5, .product-content p, .video_text'); 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"]')); const { poster, photos } = getPhotos(query.img('img[src*="/videos/images"], img[src*="/uploads/images"]'));