mirror of https://github.com/zulip/zulip.git
tools: Update some exclusion rules.
This commit is contained in:
parent
08c916b337
commit
2bf5139d23
|
@ -36,8 +36,6 @@ EXCLUDED_URLS = [
|
|||
"https://giphy.com",
|
||||
"https://giphy.com/apps/giphycapture",
|
||||
"https://www.udemy.com/course/the-complete-react-native-and-redux-course/",
|
||||
# Temporarily unavailable
|
||||
"https://zulip.com/accounts/find/",
|
||||
]
|
||||
|
||||
VNU_IGNORE = [
|
||||
|
@ -150,10 +148,12 @@ class BaseDocumentationSpider(scrapy.Spider):
|
|||
if split_url.netloc == "localhost:9981" and split_url.path in ["", "/"]:
|
||||
return
|
||||
|
||||
# This page has some invisible to the user anchor links like #all
|
||||
# These pages have 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
|
||||
if url.startswith("http://localhost:9981/plans"):
|
||||
return
|
||||
|
||||
callback: Callable[[Response], Optional[Iterator[Request]]] = self.parse
|
||||
dont_filter = False
|
||||
|
|
Loading…
Reference in New Issue