Updated tag photos.
This commit is contained in:
@@ -136,7 +136,6 @@ async function fetchLatest(entity, page = 1) {
|
||||
}
|
||||
|
||||
async function fetchScene(url, entity) {
|
||||
// TODO: don't assign site URL for old sites
|
||||
const { pathname } = new URL(url);
|
||||
const res = await qu.get(`https://teencoreclub.com${pathname}`);
|
||||
|
||||
@@ -151,7 +150,6 @@ async function fetchProfile(actorName, { entity }, include) {
|
||||
const res = await http.get(`https://teencoreclub.com/api/actors?query=${actorName}`);
|
||||
|
||||
if (res.ok) {
|
||||
console.log(res.body);
|
||||
const actor = res.body.data.find(item => slugify(item.name) === slugify(actorName));
|
||||
|
||||
if (actor) {
|
||||
|
||||
Reference in New Issue
Block a user