Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Block OAI-SearchBot, KeenableBot and DotBot in robots.txt (#5874)
Olga Bulata4f4dde70d3f
diff --git a/frontend/shared/constants/disallowed-bots.ts b/frontend/shared/constants/disallowed-bots.tsindex 9e4ab9925..57199bcb0 100644--- a/frontend/shared/constants/disallowed-bots.ts+++ b/frontend/shared/constants/disallowed-bots.ts@@ -14,4 +14,7 @@ export const disallowedBots = ["Bytespider","ImagesiftBot","cohere-ai",+ "OAI-SearchBot",+ "KeenableBot",+ "dotbot",]diff --git a/frontend/test/playwright/e2e/seo.spec.ts-snapshots/robots-linux.txt b/frontend/test/playwright/e2e/seo.spec.ts-snapshots/robots-linux.txtindex 565b46901..3011cd319 100644--- a/frontend/test/playwright/e2e/seo.spec.ts-snapshots/robots-linux.txt+++ b/frontend/test/playwright/e2e/seo.spec.ts-snapshots/robots-linux.txt@@ -77,5 +77,23 @@ Disallow: /arDisallow: /esDisallow: /ru+User-agent: OAI-SearchBot+Disallow: /+Disallow: /ar+Disallow: /es+Disallow: /ru++User-agent: KeenableBot+Disallow: /+Disallow: /ar+Disallow: /es+Disallow: /ru++User-agent: dotbot+Disallow: /+Disallow: /ar+Disallow: /es+Disallow: /ru+Sitemap: http://localhost:8443/sitemap_index.xml# END nuxt-robots\ No newline at end of file