Slugify deals with repeating dashes.
This commit is contained in:
@@ -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+/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user