Extracting shoot IDs from title in PornBox scraper.

This commit is contained in:
DebaucheryLibrarian
2026-02-01 01:31:45 +01:00
parent f76341f0dd
commit 762e605bd1
5 changed files with 51 additions and 75 deletions

View File

@@ -56,7 +56,7 @@ function slugify(strings, delimiter = '-', {
symbolRegex = defaultSymbolRegex,
} = {}) {
if (!strings || (typeof strings !== 'string' && !Array.isArray(strings))) {
return strings;
return '';
}
const string = [].concat(strings).join(' ');