mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 06:55:00 +00:00
Update fediverse.py
This commit is contained in:
parent
539b7c3b58
commit
eafb738ad2
|
@ -36,11 +36,12 @@ try:
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user