forked from DebaucheryLibrarian/traxxx
Added Jay Rock network. Fixed site logo not showing up without URL.
This commit is contained in:
@@ -115,8 +115,8 @@ async function scrapeScene(html, url, site) {
|
||||
const playerObject = videoScript.slice(videoScript.indexOf('{'), videoScript.indexOf('};') + 1);
|
||||
const playerData = JSON.parse(playerObject);
|
||||
|
||||
const workName = data.isPartOf.name.split(' - ');
|
||||
const shootId = workName.length > 1 ? workName[1] : null;
|
||||
// const workName = data.isPartOf.name.split(' - ');
|
||||
// const shootId = workName.length > 1 ? workName[1] : null;
|
||||
const entryId = url.split('/').slice(-1)[0];
|
||||
const title = data.title || $('meta[name="twitter:title"]').attr('content');
|
||||
const description = data.description || $('meta[name="twitter:description"]').attr('content');
|
||||
@@ -139,7 +139,7 @@ async function scrapeScene(html, url, site) {
|
||||
|
||||
return {
|
||||
url,
|
||||
shootId,
|
||||
// shootId,
|
||||
entryId,
|
||||
title,
|
||||
description,
|
||||
|
||||
Reference in New Issue
Block a user