Excluding studios from entity aggregration. Added profile scraping to Teste de Fudelidade.

This commit is contained in:
DebaucheryLibrarian
2023-08-04 22:30:18 +02:00
parent 328550b9a3
commit 5f26f8de27
2 changed files with 8 additions and 5 deletions

View File

@@ -206,8 +206,9 @@ async function fetchEntitiesBySlug(entitySlugs, prefer = 'channel') {
parent_id,
array['parent'] as parent_path
FROM entities
WHERE slug = ANY(:entitySlugs)
OR url ILIKE ANY(:entityHosts)
WHERE (slug = ANY(:entitySlugs)
OR url ILIKE ANY(:entityHosts))
AND type IN ('channel', 'network')
UNION ALL