Added support for release photo fallbacks. Limited photo fetching concurrency. Modifier XEmpire scraper for AllBlackX support and improved photo scraping. Added movie property to Evil Angel scraper.
This commit is contained in:
@@ -62,11 +62,14 @@ async function findSiteByUrl(url) {
|
||||
'sites.*',
|
||||
'networks.name as network_name', 'networks.slug as network_slug', 'networks.url as network_url', 'networks.description as network_description', 'networks.parameters as network_parameters',
|
||||
)
|
||||
.where('sites.url', 'like', `%${domain}%`)
|
||||
.where('sites.url', 'like', `%${domain}`)
|
||||
.orWhere('sites.url', url)
|
||||
.first();
|
||||
|
||||
if (site) {
|
||||
return curateSite(site, true);
|
||||
const curatedSite = curateSite(site, true);
|
||||
|
||||
return curatedSite;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user