Skip to content

Commit

Permalink
Update fediverse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Oct 8, 2024
1 parent 539b7c3 commit eafb738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/fediverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
librey_apiurl = config(
"LIBREY_APIURL", default="https://serp.catswords.net"
) # https://github.com/Ahwxorg/librey
bad_domains = config("BAD_DOMAINS", default="")
except Exception as e:
logger.error("[*] Invalid configuration", exc_info=e)

# bad reputation domains
bad_domains = ["krsw-wiki.org", "midokuriserver.github.io"]
bad_domains = bad_domains.split(",")

class Fediverse(Extension):
def __init__(self):
Expand Down

0 comments on commit eafb738

Please sign in to comment.