geminispace.info

gemini search engine
git clone https://git.clttr.info/geminispace.info.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit a85534a5bf24330f6a22f0dd9a388e4eab9fa152
parent 6a18d99fc17f0540dc79ab8cb99f45cb8251eb4a
Author: René Wagner <rwa@clttr.info>
Date:   Mon, 28 Jun 2021 09:31:39 +0200

additional filter

Diffstat:
Mgus/crawl.py | 2+-
Mgus/excludes.py | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gus/crawl.py b/gus/crawl.py @@ -248,7 +248,7 @@ def index_links(from_resource, contained_resources): try: Link.delete().where(Link.from_page == from_page).execute() except: - logging.error("Error deleting link: %s", gus.lib.logging.strip_control_chars(Link.from_page)) + logging.error("Error deleting a link: %s", Link.from_page) data = [] for cr in contained_resources: if should_skip(cr): diff --git a/gus/excludes.py b/gus/excludes.py @@ -133,6 +133,7 @@ EXCLUDED_URL_PREFIXES = [ "gemini://simplynews.metalune.xyz", "gemini://illegaldrugs.net/cgi-bin/news.php?", "gemini://rawtext.club/~sloum/geminews", + "gemini://gemini.cabestan.tk/hn", # wikipedia proxy "gemini://wp.pitr.ca/",