Added Moms on Moms to Girlsway.
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 100 KiB |
|
@ -1457,6 +1457,7 @@ const sites = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// FANTASY MASSAGE
|
// FANTASY MASSAGE
|
||||||
|
// Club Fantasy Massage is an aggregate site
|
||||||
{
|
{
|
||||||
slug: 'fantasymassage',
|
slug: 'fantasymassage',
|
||||||
name: 'Fantasy Massage',
|
name: 'Fantasy Massage',
|
||||||
|
@ -1583,6 +1584,15 @@ const sites = [
|
||||||
referer: 'https://www.girlsway.com',
|
referer: 'https://www.girlsway.com',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
slug: 'momsonmoms',
|
||||||
|
name: 'Moms On Moms',
|
||||||
|
url: 'https://www.girlsway.com/en/videos/momsonmoms',
|
||||||
|
network: 'girlsway',
|
||||||
|
parameters: {
|
||||||
|
scene: 'https://www.girlsway.com/en/video',
|
||||||
|
},
|
||||||
|
},
|
||||||
// JAYS POV
|
// JAYS POV
|
||||||
{
|
{
|
||||||
slug: 'jayspov',
|
slug: 'jayspov',
|
||||||
|
|
|
@ -59,8 +59,6 @@ function scrapePhotos(html) {
|
||||||
async function getPhotos(albumPath, site) {
|
async function getPhotos(albumPath, site) {
|
||||||
const albumUrl = getAlbumUrl(albumPath, site);
|
const albumUrl = getAlbumUrl(albumPath, site);
|
||||||
|
|
||||||
console.log(albumUrl);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const html = await fetchPhotos(albumUrl);
|
const html = await fetchPhotos(albumUrl);
|
||||||
const $ = cheerio.load(html, { normalizeWhitespace: true });
|
const $ = cheerio.load(html, { normalizeWhitespace: true });
|
||||||
|
@ -211,7 +209,7 @@ async function scrapeScene(html, url, site) {
|
||||||
const rawTags = data?.keywords?.split(', ') || data2?.keywords?.split(', ');
|
const rawTags = data?.keywords?.split(', ') || data2?.keywords?.split(', ');
|
||||||
release.tags = hasTrans ? [...rawTags, 'transsexual'] : rawTags;
|
release.tags = hasTrans ? [...rawTags, 'transsexual'] : rawTags;
|
||||||
|
|
||||||
const channel = data?.productionCompany?.name || $('.studioLink a').attr('title')?.trim();
|
const channel = data?.productionCompany?.name || $('.studioLink a, .siteLink a').attr('title')?.trim();
|
||||||
if (channel) release.channel = slugify(channel, { delimiter: '' });
|
if (channel) release.channel = slugify(channel, { delimiter: '' });
|
||||||
|
|
||||||
release.poster = videoData.picPreview;
|
release.poster = videoData.picPreview;
|
||||||
|
@ -394,8 +392,6 @@ async function fetchApiLatest(site, page = 1, upcoming = false) {
|
||||||
encodeJSON: true,
|
encodeJSON: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(res.body);
|
|
||||||
|
|
||||||
if (res.statusCode === 200 && res.body.results?.[0]?.hits) {
|
if (res.statusCode === 200 && res.body.results?.[0]?.hits) {
|
||||||
return scrapeApiReleases(res.body.results[0].hits, site);
|
return scrapeApiReleases(res.body.results[0].hits, site);
|
||||||
}
|
}
|
||||||
|
@ -463,9 +459,13 @@ async function fetchScene(url, site, release) {
|
||||||
const deepUrl = getDeepUrl(url, site);
|
const deepUrl = getDeepUrl(url, site);
|
||||||
const res = await bhttp.get(deepUrl);
|
const res = await bhttp.get(deepUrl);
|
||||||
|
|
||||||
|
if (res.statusCode === 200) {
|
||||||
return scrapeScene(res.body.toString(), url, site, deepUrl);
|
return scrapeScene(res.body.toString(), url, site, deepUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
async function fetchActorScenes(actorName, apiUrl, siteSlug) {
|
async function fetchActorScenes(actorName, apiUrl, siteSlug) {
|
||||||
const res = await bhttp.post(apiUrl, {
|
const res = await bhttp.post(apiUrl, {
|
||||||
requests: [
|
requests: [
|
||||||
|
|