diff --git a/src/scrapers/spizoo.js b/src/scrapers/spizoo.js index 47ddd9fc..301a086d 100755 --- a/src/scrapers/spizoo.js +++ b/src/scrapers/spizoo.js @@ -49,8 +49,6 @@ function scrapeScene({ query }, { url, entity }) { release.entryId = getEntryId(url); release.title = query.content(['#media-holder .title', '.content-holder h1', '#scene h1', 'h2.titular', 'title'])?.replace(/\s+-$/, ''); - console.log(release); - release.date = query.date('#sceneInfo .date, #trailer-data .date', 'YYYY-MM-DD'); release.duration = query.duration('#sceneInfo .data-others, #trailer-data', /\d+:\d+/); diff --git a/src/utils/slugify.js b/src/utils/slugify.js index 324ed27d..3b4fab9a 100755 --- a/src/utils/slugify.js +++ b/src/utils/slugify.js @@ -66,7 +66,7 @@ function slugify(strings, delimiter = '-', { : string; const normalized = casedString - .replace(/[_-]/g, ' ') + .replace(/[_-]+/g, ' ') .split('') .map((char) => { if (char === ' ') {