Added Full Porn Network sites.
This commit is contained in:
@@ -32,11 +32,14 @@ function curateEntity(entity, includeParameters = false) {
|
||||
|| (entity.parent && { logo: `${entity.parent.slug}/${entity.slug}.png`, thumbnail: `${entity.parent.slug}/thumbs/${entity.slug}.png`, favicon: `${entity.parent.slug}/favicon.png` })))
|
||||
|| null;
|
||||
|
||||
const url = entity.url && new URL(entity.url);
|
||||
|
||||
const curatedEntity = entity.id ? {
|
||||
id: entity.id,
|
||||
name: entity.name,
|
||||
url: entity.url,
|
||||
origin: entity.url && new URL(entity.url).origin,
|
||||
origin: url?.origin,
|
||||
pathname: url?.pathname,
|
||||
description: entity.description,
|
||||
slug: entity.slug,
|
||||
type: entity.type,
|
||||
|
||||
@@ -178,23 +178,10 @@ module.exports = {
|
||||
naughtyamerica,
|
||||
tonightsgirlfriend: naughtyamerica,
|
||||
// full porn network
|
||||
analbbc: fullpornnetwork,
|
||||
analized: fullpornnetwork,
|
||||
analviolation: fullpornnetwork,
|
||||
archangel: fullpornnetwork,
|
||||
baddaddypov: fullpornnetwork,
|
||||
dtfsluts: fullpornnetwork,
|
||||
girlfaction: fullpornnetwork,
|
||||
hergape: fullpornnetwork,
|
||||
homemadeanalwhores: fullpornnetwork,
|
||||
jamesdeen: fullpornnetwork,
|
||||
mugfucked: fullpornnetwork,
|
||||
onlyprince: fullpornnetwork,
|
||||
pervertgallery: fullpornnetwork,
|
||||
povperverts: fullpornnetwork,
|
||||
// etc
|
||||
'18vr': badoink,
|
||||
theflourishxxx: theflourish,
|
||||
fullpornnetwork,
|
||||
adultempire,
|
||||
allherluv: missax,
|
||||
americanpornstar,
|
||||
|
||||
@@ -21,10 +21,13 @@ function scrapeAll(scenes, channel) {
|
||||
url: unprint.query.url(actorEl, null, { origin: channel.url }),
|
||||
}));
|
||||
|
||||
release.poster = query.img('.thumbnail img');
|
||||
|
||||
const poster = query.img('.thumbnail img');
|
||||
const teaser = query.video('.thumbnail img', { attribute: 'data-vid' }); // not a mistake, video source is on img tag
|
||||
|
||||
if (!poster?.includes('blur')) { // seemingly global SFW
|
||||
release.poster = poster;
|
||||
}
|
||||
|
||||
if (!teaser?.includes('blur')) { // seemingly global SFW
|
||||
release.teaser = teaser;
|
||||
}
|
||||
@@ -34,7 +37,9 @@ function scrapeAll(scenes, channel) {
|
||||
}
|
||||
|
||||
async function fetchLatest(channel, page = 1) {
|
||||
const url = `${channel.url}/porn-categories/movies/?page=${page}&sort=most-recent`; // parameter order matters for some reason!
|
||||
const section = channel.pathname?.match(/\/channels\/([\w-]+)/)?.[1] || 'movies';
|
||||
|
||||
const url = `${channel.origin}/porn-categories/${section}/?page=${page}&sort=most-recent`; // parameter order matters for some reason!
|
||||
const res = await unprint.get(url, { selectAll: '.content div[data-setid]' });
|
||||
|
||||
if (res.ok) {
|
||||
|
||||
Reference in New Issue
Block a user