Updated dependencies not locked by require.

This commit is contained in:
DebaucheryLibrarian
2026-11-08 02:26:04 +01:00
parent 06ae62436a
commit b4d07bbaa6
33 changed files with 4756 additions and 17963 deletions
+14 -29
View File
@@ -47,11 +47,7 @@ function scrapeAll(scenes, tilesByEntryId, channel) {
release.tags = tagsMap[query.content('a[href*="type/"]')?.toLowerCase()];
const posterBackground = query.style('.player');
if (posterBackground?.background) {
release.poster = posterBackground.background.match(/url\((.*)\)/)?.[1]?.trim();
}
release.poster = query.background('.player');
release.photos = query.all('.sample-thumbs .thumb a').map((linkEl) => [
unprint.query.url(linkEl, null),
@@ -121,8 +117,7 @@ function scrapeAllTiles(tiles, channel) {
release.tags = [...query.contents('.data a[href*="/tag"]'), ...(tagsMap[query.content('.scene-type')?.toLowerCase()] || [])].filter(Boolean);
const posterBackground = query.style('.scene-img');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.scene-img');
if (posterUrl) {
release.poster = [
@@ -199,8 +194,7 @@ function scrapeAllCospuri(scenes, channel) {
release.tags = [...query.contents('.tags .tag, .tag-box .tag'), query.content('.model .channel')].filter(Boolean);
const posterBackground = query.style('.scene-thumb');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.scene-thumb');
if (posterUrl) {
release.poster = [
@@ -260,8 +254,7 @@ function scrapeAllFellatio(scenes, channel) {
release.tags = query.contents('.tour-data a[href*="tag/"]');
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -302,8 +295,7 @@ function scrapeAllHandjob(scenes, _channel) {
release.actors = query.text('.item-ltitle h1')?.split(/,\s*/).map((actor) => actor.trim());
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -348,8 +340,7 @@ function scrapeAllLegs(scenes, channel) {
release.tags = query.contents('a[href*="tag/"]');
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -385,8 +376,7 @@ function scrapeAllFacefuck(scenes) {
release.description = query.content('.infotxt');
release.actors = query.content('.info h1').split(',').map((actor) => actor.trim());
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -425,8 +415,7 @@ function scrapeAllTrans(scenes) {
release.duration = query.duration('.sample-info');
release.photoCount = albumContext?.query.number('.sample-info', { match: /(\d+) photos/i, matchIndex: 1 });
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = [
@@ -436,7 +425,7 @@ function scrapeAllTrans(scenes) {
];
}
release.photos = curatePhotos(albumContext?.query.styles('.sample-lg, .sample-thumb').map((style) => style['background-image']?.match(/url\((.*)\)/)?.[1]));
release.photos = curatePhotos(albumContext?.query.backgrounds('.sample-lg, .sample-thumb'));
release.trailer = query.video();
release.entryId = entryIdFromMedia(release);
@@ -486,8 +475,7 @@ function scrapeAllLesbianTiles(scenes, channel) {
release.tags = query.contents('.content-tags a');
const posterBackground = query.style('.vidthumb');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.vidthumb');
if (posterUrl) {
release.poster = [
@@ -522,8 +510,7 @@ function scrapeAllLesbian(scenes, channel, tiles) {
release.videoCount = query.number('.tour-datum', { match: /(\d+) hd scenes/i, matchIndex: 1 });
release.photoCount = query.number('//div[text()[contains(., "Photos")]]', { match: /(\d+) photos/i, matchIndex: 1 });
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -650,8 +637,7 @@ function scrapeSceneBuffet({ query }, { url, entity }) {
release.tags = query.contents('.tag-list a');
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = [
@@ -696,8 +682,7 @@ function scrapeSceneCospuri({ query }, { url, entity }) {
release.tags = [...query.contents('.tag'), query.content('.sample-channel')].filter(Boolean);
const posterBackground = query.style('.player');
const posterUrl = posterBackground?.background?.match(/url\((.*)\)/)?.[1]?.trim();
const posterUrl = query.background('.player');
if (posterUrl) {
release.poster = posterUrl;
@@ -788,7 +773,7 @@ function scrapeProfile({ query }, _channel, url) {
const avatar = query.img('.scene-array img[src*="/actress"], img.portrait, .profile-img img')
|| query.img('.costume-bg', { attribute: 'data-img' })
|| query.style('.model-profile, #profile, .carousel-item')?.['background-image']?.match(/url\((.*)\)/)?.[1];
|| query.background('.model-profile, #profile, .carousel-item');
if (avatar) {
profile.avatar = Array.from(new Set([