Fixed double slash in Family Strokes network URL.

This commit is contained in:
DebaucheryLibrarian
2026-10-21 21:29:13 +02:00
parent 83c78ade5d
commit 6a0759693c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ const networks = [
{ {
slug: 'familystrokes', slug: 'familystrokes',
name: 'Family Strokes', name: 'Family Strokes',
url: 'https://www.familystrokes.com/', url: 'https://www.familystrokes.com',
parent: 'paperstreetmedia', parent: 'paperstreetmedia',
parameters: { parameters: {
endpoint: 'familybundle', endpoint: 'familybundle',
+2 -2
View File
@@ -47,7 +47,7 @@ async function scrapeScene(scene, channel, _parameters, includeTrailers) {
// release.entryId = scene.id; // legacy // release.entryId = scene.id; // legacy
release.entryId = scene.itemId; release.entryId = scene.itemId;
release.url = `${channel.type === 'network' || channel.parameters?.layout === 'organic' ? channel.url : channel.parent.url}/movies/${scene.id || release.entryId}`; // numeric item ID URL 404s, id is the slug release.url = `${channel.origin}/movies/${scene.id || release.entryId}`; // numeric item ID URL 404s, id is the slug
release.title = scene.title; release.title = scene.title;
release.description = scene.description; release.description = scene.description;
@@ -58,7 +58,7 @@ async function scrapeScene(scene, channel, _parameters, includeTrailers) {
name: model.modelName || model.name || model.title, name: model.modelName || model.name || model.title,
avatar: model.img, avatar: model.img,
gender: model.gender, gender: model.gender,
url: `${channel.url}/models/${model.modelId || model.id}`, url: `${channel.origin}/models/${model.modelId || model.id}`,
})); }));
if (scene.img) { if (scene.img) {