Fixed Kelly Madison title regex.

This commit is contained in:
DebaucheryLibrarian 2020-12-29 18:53:55 +01:00
parent c7cb0e439d
commit 361e8f1bd3
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ async function scrapeScene({ query, html }, url, baseRelease, channel, session)
const titleString = query.cnt('.card-header.row h4, .trailer-starring span, .level-left .level-item');
const episode = titleString?.match(/#\d+$/)?.[0];
release.title = query.cnt('.trailer-title') || titleString?.match(/(?:Trailer: )?([\w\s]+) -/)?.[1];
release.title = query.cnt('.trailer-title') || titleString?.match(/(?:Trailer: )?(.+) -/)?.[1];
release.channel = slugify(titleString?.match(/([\w\s]+) #\d+$/)?.[1], '');
const siteKey = siteMapBySlug[release.channel];