Removed stray slice from Gamma scraper.
This commit is contained in:
@@ -136,7 +136,7 @@ async function fetchScene(url, channel) {
|
||||
}
|
||||
|
||||
async function fetchProfile({ name: actorName }, entity, include) {
|
||||
const url = `${entity.url}/models/${slugify(actorName)}.en.html`;
|
||||
const url = `${new URL(entity.url).origin}/models/${slugify(actorName)}.en.html`;
|
||||
const res = await unprint.get(url);
|
||||
|
||||
return res.ok ? scrapeProfile(res.context, url, include) : res.status;
|
||||
|
||||
Reference in New Issue
Block a user