Fixed indentation.
This commit is contained in:
parent
c0347eed50
commit
b79e75349c
|
@ -200,6 +200,8 @@ function scrapeAll(html, site, networkUrl, hasTeaser = true) {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(release);
|
||||||
|
|
||||||
return release;
|
return release;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -252,7 +254,10 @@ async function scrapeScene(html, url, site, baseRelease, mobileHtml, options) {
|
||||||
|
|
||||||
const channel = data?.productionCompany?.name
|
const channel = data?.productionCompany?.name
|
||||||
|| $('.studioLink a, .siteLink a').attr('title')?.trim()
|
|| $('.studioLink a, .siteLink a').attr('title')?.trim()
|
||||||
|| $('.siteNameSpan').text()?.trim().toLowerCase().replace('.com', '')
|
|| $('.siteNameSpan').text()
|
||||||
|
?.trim()
|
||||||
|
.toLowerCase()
|
||||||
|
.replace('.com', '')
|
||||||
|| $('meta[name="twitter:domain"]').attr('content')?.replace('.com', '');
|
|| $('meta[name="twitter:domain"]').attr('content')?.replace('.com', '');
|
||||||
|
|
||||||
if (channel) release.channel = slugify(channel, '');
|
if (channel) release.channel = slugify(channel, '');
|
||||||
|
|
Loading…
Reference in New Issue