Added DP Star Sex Challenges to Digital Playground.
This commit is contained in:
@@ -102,6 +102,9 @@ function scrapeLatestX(data, site, filterChannel) {
|
||||
};
|
||||
}
|
||||
|
||||
const siteName = data.collections[0]?.name || data.brand;
|
||||
release.channel = slugify(siteName, '');
|
||||
|
||||
return release;
|
||||
}
|
||||
|
||||
@@ -147,8 +150,8 @@ function scrapeRelease(data, url, channel, networkName) {
|
||||
|
||||
release.url = url || `https://www.${networkName || data.brand}.com/scene/${entryId}/`;
|
||||
|
||||
if (data.parent?.type === 'movie') {
|
||||
release.movie = {
|
||||
if (data.parent?.type === 'movie' || data.parent?.type === 'serie') {
|
||||
release[data.parent.type] = {
|
||||
entryId: data.parent.id,
|
||||
url: `${getBasePath(channel, '/movie')}/${data.parent.id}/${slugify(data.parent.title, '-', { removePunctuation: true })}`,
|
||||
title: data.parent.title,
|
||||
|
||||
Reference in New Issue
Block a user