Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
6153009180 1.252.16 2026-06-02 06:31:55 +02:00
DebaucheryLibrarian
565e7568e0 Fixed Vilde entry ID extract failing on PNG posters. 2026-06-02 06:31:51 +02:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@@ -6,7 +6,7 @@ const slugify = require('../utils/slugify');
function extractEntryId(poster) {
try {
return slugify(new URL(poster).pathname.match(/\/images\/(.*?)\.jpg/)?.[1]?.replace(/smak.*/i, ''), '');
return slugify(new URL(poster).pathname.match(/\/images\/(.*?)\.[a-z]{3,4}/i)?.[1]?.replace(/smak.*/i, ''), '');
} catch (error) {
return null;
}