Extracting shoot IDs from title in PornBox scraper.
This commit is contained in:
@@ -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(' ');
|
||||
|
||||
Reference in New Issue
Block a user