Updated tag photos.

This commit is contained in:
2020-07-08 04:58:12 +02:00
parent 9e5d3aa139
commit 17d46e804e
19 changed files with 30 additions and 6 deletions

View File

@@ -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) {