Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
ba127ee53d 1.248.69 2026-02-22 03:41:56 +01:00
DebaucheryLibrarian
3ee73d2f77 Fixed tags with parentheses not getting matched. 2026-02-22 03:41:54 +01: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.248.68",
"version": "1.248.69",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.248.68",
"version": "1.248.69",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

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

View File

@@ -76,7 +76,7 @@ function withRelations(queryBuilder, withMedia) {
async function matchReleaseTags(releases) {
const tags = releases
.map((release) => release.tags).flat()
.map((tag) => tag?.trim().match(/[a-z0-9]+/ig)?.join(' ').toLowerCase())
.map((tag) => tag?.trim().match(/[a-z0-9()]+/ig)?.join(' ').toLowerCase())
.filter(Boolean);
const tagEntries = await knex('tags')