forked from DebaucheryLibrarian/traxxx
Updated profile scrapers to use base actor instead of actor name. Fixes for Reality Kings and Cherry Pimps scrapers.
This commit is contained in:
@@ -559,7 +559,7 @@ async function fetchActorScenes(actorName, apiUrl, siteSlug) {
|
||||
return [];
|
||||
}
|
||||
|
||||
async function fetchProfile(actorName, context, altSearchUrl, getActorReleasesUrl, include) {
|
||||
async function fetchProfile({ name: actorName }, context, altSearchUrl, getActorReleasesUrl, include) {
|
||||
const siteSlug = context.entity.slug || context.site?.slug || context.network?.slug;
|
||||
|
||||
const actorSlug = actorName.toLowerCase().replace(/\s+/, '+');
|
||||
|
||||
Reference in New Issue
Block a user