Fixed double slash in Family Strokes network URL.
This commit is contained in:
@@ -172,7 +172,7 @@ const networks = [
|
||||
{
|
||||
slug: 'familystrokes',
|
||||
name: 'Family Strokes',
|
||||
url: 'https://www.familystrokes.com/',
|
||||
url: 'https://www.familystrokes.com',
|
||||
parent: 'paperstreetmedia',
|
||||
parameters: {
|
||||
endpoint: 'familybundle',
|
||||
|
||||
@@ -47,7 +47,7 @@ async function scrapeScene(scene, channel, _parameters, includeTrailers) {
|
||||
// release.entryId = scene.id; // legacy
|
||||
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.description = scene.description;
|
||||
@@ -58,7 +58,7 @@ async function scrapeScene(scene, channel, _parameters, includeTrailers) {
|
||||
name: model.modelName || model.name || model.title,
|
||||
avatar: model.img,
|
||||
gender: model.gender,
|
||||
url: `${channel.url}/models/${model.modelId || model.id}`,
|
||||
url: `${channel.origin}/models/${model.modelId || model.id}`,
|
||||
}));
|
||||
|
||||
if (scene.img) {
|
||||
|
||||
Reference in New Issue
Block a user