Fixed Kelly Madison title regex.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user