Fixed Jules Jordan upcoming selector.

This commit is contained in:
DebaucheryLibrarian
2025-01-30 01:29:45 +01:00
parent 3e4c82bd23
commit 6636330e11
8 changed files with 59 additions and 19 deletions

View File

@@ -328,7 +328,7 @@ async function fetchUpcoming(site) {
if (site.parameters?.upcoming === false) return null;
const url = site.parameters?.upcoming ? util.format(site.parameters.upcoming) : `${site.url}/trial/index.php`;
const res = await unprint.get(url, { selectAll: '//img[contains(@alt, "Coming Soon")]/parent::div' });
const res = await unprint.get(url, { selectAll: '//img[contains(@alt, "Coming Soon")]/ancestor::div' });
if (res.ok) {
return scrapeUpcoming(res.context, site);

View File

@@ -31,7 +31,7 @@ function scrapeLatest(scenes, site) {
release.date = query.date('.card-meta .text-left, .row .col-4:first-child, .card-footer-item:first-child', ['MMM D', 'MMM D, YYYY'], /\w+ \d+(, \w+)?/);
release.actors = query.cnts('.models a, .ep-models a, a[href*="models/"]');
// older scenes do not have a working scene page on their native site, only on Porn Fidelity
// older scenes do not have a working scene page on their native site, but they (often, not always) do on Porn Fidelity
// scenes older than year do not show a date; this is not when the URLs stop working, but it's a rough guideline
release.url = site.parameters.archive && !release.date
? `${site.parameters.archive}${pathname}`

View File

@@ -74,6 +74,7 @@ const testedefudelidade = require('./testedefudelidade');
const tokyohot = require('./tokyohot');
// const topwebmodels = require('./topwebmodels');
const traxxx = require('./traxxx');
const virtualtaboo = require('./virtualtaboo');
const vivid = require('./vivid');
const vixen = require('./vixen');
const vogov = require('./vogov');
@@ -179,6 +180,7 @@ const scrapers = {
transbella: porndoe,
traxxx,
vipsexvault: porndoe,
virtualtaboo,
vivid,
vixen,
vogov,

View File

@@ -106,6 +106,8 @@ async function init() {
const movies = await fetchMovies();
console.log(movies.toSorted((movieA, movieB) => movieA.dupe_index - movieB.dupe_index));
const docs = movies.map((movie) => {
const combinedTags = Object.values(Object.fromEntries(movie.tags.concat(movie.movie_tags).map((tag) => [tag.f1, {
id: tag.f1,