Added Caught My Coach to Nubiles, fixed photos not prefixed with protocol.

This commit is contained in:
DebaucheryLibrarian 2025-03-21 01:59:33 +01:00
parent 7a0b364dcc
commit 0bc156f863
2 changed files with 11 additions and 2 deletions

View File

@ -8720,6 +8720,12 @@ const sites = [
tags: ['family'],
parent: 'nubiles',
},
{
slug: 'caughtmycoach',
name: 'Caught My Coach',
url: 'https://caughtmycoach.com',
parent: 'nubiles',
},
// PASCALS SUBSLUTS
{
slug: 'pascalssubsluts',

View File

@ -13,7 +13,7 @@ async function getPhotos(albumUrl) {
const res = await qu.getAll(albumUrl, '.photo-thumb');
return res.ok
? res.items.map(({ query }) => query.q('source').srcset)
? res.items.map(({ query }) => qu.prefixUrl(query.q('source').srcset))
: [];
}
@ -87,7 +87,10 @@ async function scrapeScene({ query }, url, site) {
release.likes = Number(query.q('#likecount', true));
const albumLink = query.url('.content-pane-related-links a[href*="gallery"]');
if (albumLink) release.photos = await getPhotos(`${site.url}${albumLink}`);
if (albumLink) {
release.photos = await getPhotos(`${site.url}${albumLink}`);
}
return release;
}