Fixed Kink profile scraper returning partial matches. Removed parent from BAM Visions and Vogov.

This commit is contained in:
DebaucheryLibrarian 2020-07-14 21:21:27 +02:00
parent 9a6ab35c21
commit 90fc7a0d9d
11 changed files with 2 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -438,12 +438,6 @@ const networks = [
url: 'https://www.vixen.com', url: 'https://www.vixen.com',
description: 'Vixen.com features the worlds finest cinematic adult films with 4K quality and high-end erotic photography.', description: 'Vixen.com features the worlds finest cinematic adult films with 4K quality and high-end erotic photography.',
}, },
{
slug: 'vogov',
name: 'VogoV',
url: 'https://www.vogov.com',
description: 'Fantastic collection of exclusive porn movies with the most beautiful porn models in leading roles saisfies the most picky visitor of the site.',
},
{ {
slug: 'xempire', slug: 'xempire',
name: 'XEmpire', name: 'XEmpire',

View File

@ -619,7 +619,6 @@ const sites = [
slug: 'bamvisions', slug: 'bamvisions',
name: 'BAM Visions', name: 'BAM Visions',
url: 'https://tour.bamvisions.com', url: 'https://tour.bamvisions.com',
parent: 'bamvisions',
}, },
// BANG // BANG
{ {
@ -7554,7 +7553,6 @@ const sites = [
name: 'VogoV', name: 'VogoV',
url: 'https://www.vogov.com', url: 'https://www.vogov.com',
description: 'Top rated models. Graceful locations. Best gonzo scenes. 4K UHD 60 FPS. So, in general Vogov is a website that is worth visiting and exploring carefully. It gives a chance to spend a fantastic night with gorgeous girls ready to experiment and to full around with their lovers.', description: 'Top rated models. Graceful locations. Best gonzo scenes. 4K UHD 60 FPS. So, in general Vogov is a website that is worth visiting and exploring carefully. It gives a chance to spend a fantastic night with gorgeous girls ready to experiment and to full around with their lovers.',
parent: 'vogov',
}, },
// WHALE MEMBER // WHALE MEMBER
{ {

View File

@ -152,7 +152,7 @@ async function fetchProfile(actorName, entity, include) {
const searchRes = await qu.getAll(`https://kink.com/search?type=performers&q=${actorName}`, '.model'); const searchRes = await qu.getAll(`https://kink.com/search?type=performers&q=${actorName}`, '.model');
if (searchRes.ok) { if (searchRes.ok) {
const actorItem = searchRes.items.find(() => qu.query.exists(`.model-link img[alt="${actorName}"]`)); const actorItem = searchRes.items.find(item => item.query.exists(`.model-link img[alt="${actorName}"]`));
if (actorItem) { if (actorItem) {
const actorPath = actorItem.query.url('.model-link'); const actorPath = actorItem.query.url('.model-link');

View File

@ -132,7 +132,7 @@ function scrapeScene(html, url) {
release.tags = qu.all('.info-video-category a', true); release.tags = qu.all('.info-video-category a', true);
release.photos = qu.urls('.swiper-wrapper .swiper-slide a').map(source => source.replace('.jpg/', '.jpg')); release.photos = qu.urls('.swiper-wrapper .swiper-slide a').map(source => source.replace('.jpg/', '.jpg'));
release.poster = qu.meta('meta[property="og:image"'); release.poster = qu.meta('meta[property="og:image"]');
if (!release.poster) { if (!release.poster) {
const previewStart = html.indexOf('preview_url'); const previewStart = html.indexOf('preview_url');