Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 63f0410c5c 1.246.21 2026-01-24 02:03:17 +01:00
DebaucheryLibrarian 2aa323427b Using full URL slug as entry ID for Cherry Pimps, ID not consistent. 2026-01-24 02:03:14 +01:00
4 changed files with 11 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.246.20",
"version": "1.246.21",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.246.20",
"version": "1.246.21",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.246.20",
"version": "1.246.21",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -2715,9 +2715,14 @@ const sites = [
{
name: 'Wild On Cam',
slug: 'wildoncam',
url: 'https://cherrypimps.com/series/wild-on-cam.html',
// url: 'https://cherrypimps.com/series/wild-on-cam.html',
url: 'https://wildoncam.com',
alias: ['woc'],
parent: 'cherrypimps',
parameters: {
// allow native URLs to match
slug: 'wild-on-cam',
},
},
{
name: 'Cherry of the Month',

View File

@ -13,7 +13,7 @@ function scrapeAll(scenes) {
const { pathname } = new URL(url);
release.url = url;
release.entryId = pathname.match(/\/trailers\/(\d+).*.html/)[1];
release.entryId = pathname.match(/\/trailers\/(.*)?.html/)[1]?.toLowerCase(); // almost all slugs start with an ID, but not all
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\/(\d+).*.html/)[1];
release.entryId = pathname.match(/\/trailers\/(.*)?.html/)[1].toLowerCase();
release.title = query.content('.item-title h1');
release.description = query.content('.update-info-block p');