Fixed slugify behavior.

This commit is contained in:
DebaucheryLibrarian
2026-01-10 04:33:15 +01:00
parent e84beacca1
commit 19dbd624ca
8 changed files with 77 additions and 41 deletions

View File

@@ -363,7 +363,7 @@ function scrapeProfile(data, networkName, _releases = []) {
profile.gender = data.gender === 'other' ? 'transsexual' : data.gender;
if (profile.gender === 'male') {
profile.penisLength = Number(data.measurements);
profile.penisLength = Number(data.measurements) || null;
} else {
profile.measurements = data.measurements;
}

View File

@@ -81,6 +81,8 @@ function scrapeAll(scenes, site, entryIdFromTitle) {
|| query.element('.rating_box')?.dataset.id
|| query.attribute('a img', 'id')?.match(/set-target-(\d+)/)?.[1];
console.log(release.entryId);
return release;
});
}

View File

@@ -194,6 +194,33 @@ const scrapers = {
// xempire,
},
actors: {
// aylo
adultmobile: aylo,
babes: aylo,
bangbros: aylo,
brazzers: aylo,
digitalplayground: aylo,
doghousedigital: aylo,
fakehub: aylo,
familysinners: aylo,
gaywire: aylo,
iconmale: aylo,
letsdoeit: aylo,
men: aylo,
metrohd: aylo,
mofos: aylo,
propertysex: aylo,
realityjunkies: aylo,
realitykings: aylo,
sexyhub: aylo,
spicevids: aylo,
squirted: aylo,
sweetheartvideo: aylo,
sweetsinner: aylo,
transangels: aylo,
trueamateurs: aylo,
twistys: aylo,
// etc
'18vr': badoink,
'21sextury': gamma,
adultempire,
@@ -212,13 +239,11 @@ const scrapers = {
aziani,
'2poles1hole': aziani,
creampiled: aziani,
babes: aylo,
babevr: badoink,
baddaddypov: fullpornnetwork,
badoinkvr: badoink,
bamvisions,
bang,
bangbros: aylo,
bjraw: radical,
bluedonkeymedia,
delphine: modelmedia,
@@ -227,13 +252,11 @@ const scrapers = {
boobpedia,
bradmontana,
brattysis: nubiles,
brazzers: aylo,
burningangel: gamma,
cherrypimps,
cumlouder,
deeplush: nubiles,
devilsfilm: famedigital,
digitalplayground: aylo,
dirtyauditions: mikeadriano,
dogfartnetwork: gamma,
dorcelclub: dorcel,
@@ -242,12 +265,10 @@ const scrapers = {
evilangel: gamma,
exploitedx, // only from known URL that will specify site
eyeontheguy: hush,
fakehub: aylo,
firstanalquest,
forbondage: porndoe,
freeones,
gangbangcreampie: gamma,
gaywire: aylo,
girlfaction: fullpornnetwork,
gloryholesecrets: gamma,
gotfilled: radical,
@@ -258,7 +279,6 @@ const scrapers = {
hotcrazymess: nubiles,
hushpass: hush,
hussiepass: hush,
iconmale: aylo,
inserted: radical,
interracialpass: hush,
interracialpovs: hush,
@@ -273,7 +293,6 @@ const scrapers = {
kink,
kinkmen: kink,
kinkvr: kink,
letsdoeit: aylo,
loveherfilms,
loveherfeet: loveherfilms,
shelovesblack: loveherfilms,
@@ -281,13 +300,9 @@ const scrapers = {
analvids: pornbox,
littlecapricedreams,
mamacitaz: porndoe,
men: aylo,
mariskax,
metrohd: aylo,
milehighmedia: aylo,
milfvr: wankzvr,
missax,
mofos: aylo,
mylf: teamskeet,
mugfucked: fullpornnetwork,
naughtyamerica,
@@ -311,7 +326,6 @@ const scrapers = {
povpornstars: hush,
private: privateNetwork,
purgatoryx,
realitykings: aylo,
realvr: badoink,
rickysroom,
roccosiffredi: famedigital,
@@ -319,7 +333,6 @@ const scrapers = {
score,
seehimfuck: hush,
sexlikereal,
sexyhub: aylo,
silverstonedvd: famedigital,
silviasaint: famedigital,
spermmania: snowvalley,
@@ -345,11 +358,9 @@ const scrapers = {
testedefudelidade,
thatsitcomshow: nubiles,
tokyohot,
transangels: aylo,
transbella: porndoe,
tranzvr: wankzvr,
trueanal: mikeadriano,
twistys: aylo,
vipsexvault: porndoe,
virtualtaboo,
darkroomvr: virtualtaboo,

View File

@@ -42,7 +42,7 @@ const accentMap = {
};
const plainCharRegex = /[a-zA-Z0-9]/;
const defaultPunctuationRegex = /[.,?!:;&'"“”…()[]{}<>\/*—]/;
const defaultPunctuationRegex = /[.,?!:;&'"“”…()[\]{}<>/*—]/;
const defaultSymbolRegex = /[@$€£#%^+=\\~]/;
function slugify(strings, delimiter = '-', {
@@ -50,7 +50,7 @@ function slugify(strings, delimiter = '-', {
lower = true,
encode = false,
accents: keepAccents = false,
punctuation: keepPunctuation = false,
punctuation: keepPunctuation = 'split',
punctuationRegex = defaultPunctuationRegex,
symbols: keepSymbols = false,
symbolRegex = defaultSymbolRegex,