forked from DebaucheryLibrarian/traxxx
Changed scene fetch title source for BlowPass scraper.
This commit is contained in:
@@ -46,7 +46,7 @@ async function scrapeScene(html, url, site) {
|
||||
const workName = data.isPartOf.name.split(' - ');
|
||||
const shootId = workName.length > 1 ? workName[0] : null;
|
||||
const entryId = url.split('/').slice(-1)[0];
|
||||
const title = data.name;
|
||||
const title = data.isPartOf ? data.isPartOf.name : data.name;
|
||||
const { description } = data;
|
||||
const date = moment.utc(data.isPartOf.datePublished, 'YYYY-MM-DD').toDate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user