Updated Full Porn Network scraper.

This commit is contained in:
2020-05-29 22:43:03 +02:00
parent 9903423caf
commit 8abcc7194a
104 changed files with 75 additions and 47 deletions

View File

@@ -56,9 +56,7 @@ function slugify(string, delimiter = '-', {
if (accSlug.length < limit) {
if (removeAccents) {
return accSlug.replace(/[à-ÿ]/g, (match) => {
return substitutes[match] || '';
});
return accSlug.replace(/[à-ÿ]/g, match => substitutes[match] || '');
}
return accSlug;