mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-07 10:22:51 +00:00
Update fediverse.py
This commit is contained in:
parent
539b7c3b58
commit
eafb738ad2
|
@ -36,11 +36,12 @@ try:
|
||||||
librey_apiurl = config(
|
librey_apiurl = config(
|
||||||
"LIBREY_APIURL", default="https://serp.catswords.net"
|
"LIBREY_APIURL", default="https://serp.catswords.net"
|
||||||
) # https://github.com/Ahwxorg/librey
|
) # https://github.com/Ahwxorg/librey
|
||||||
|
bad_domains = config("BAD_DOMAINS", default="")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("[*] Invalid configuration", exc_info=e)
|
logger.error("[*] Invalid configuration", exc_info=e)
|
||||||
|
|
||||||
# bad reputation domains
|
# bad reputation domains
|
||||||
bad_domains = ["krsw-wiki.org", "midokuriserver.github.io"]
|
bad_domains = bad_domains.split(",")
|
||||||
|
|
||||||
class Fediverse(Extension):
|
class Fediverse(Extension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user