Added Full Porn Network sites.

This commit is contained in:
DebaucheryLibrarian
2026-01-20 05:59:42 +01:00
parent 3ced6a9f79
commit c711d73cd0
6 changed files with 210 additions and 39 deletions

View File

@@ -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,