Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
documentation_crawler: Exclude communities page.
Aman Agrawal587f52e3515a
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.pyindex c7ba827302b..9fc29e92fbc 100644--- a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py+++ b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py@@ -146,6 +146,11 @@ class BaseDocumentationSpider(scrapy.Spider):):return+ # This page has some invisible to the user anchor links like #all+ # that are currently invisible, and thus would otherwise fail this test.+ if url.startswith("http://localhost:9981/communities"):+ return+callback: Callable[[Response], Optional[Iterator[Request]]] = self.parsedont_filter = Falsemethod = "GET"