Fixed double slash in Family Strokes network URL.
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user