Only using ID part of URL as entry ID for Cherry Pimps to ensure backward compatability.

This commit is contained in:
DebaucheryLibrarian 2026-01-12 01:38:17 +01:00
parent 5ac0d79b99
commit 82f8b135bd
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ function scrapeAll(scenes) {
const { pathname } = new URL(url);
release.url = url;
release.entryId = pathname.match(/\/trailers\/(.*).html/)[1];
release.entryId = pathname.match(/\/trailers\/(\d+).*.html/)[1];
release.title = query.content('.item-title a');
@ -50,7 +50,7 @@ function scrapeScene({ query }, url, _channel, baseRelease) {
const release = { url };
const { pathname } = new URL(url);
release.entryId = pathname.match(/\/trailers\/(.*).html/)[1];
release.entryId = pathname.match(/\/trailers\/(\d+).*.html/)[1];
release.title = query.content('.item-title h1');
release.description = query.content('.update-info-block p');