From 63fa34b6c7ad9f077e2eb75e27f3ff0c07a10e43 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 26 Oct 2018 00:33:57 +1000 Subject: [PATCH] fixed a huge bug --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index cb9d2cd..acf435a 100755 --- a/main.py +++ b/main.py @@ -114,13 +114,17 @@ for f in following: print("Harvesting toots for user @{}, starting from {}".format(f.acct, last_toot)) #find the user's activitypub outbox - print("WebFingering...") + #print("WebFingering...") instance = re.search(r"^.*@(.+)", f.acct) if instance == None: instance = re.search(r"https?:\/\/(.*)", cfg['site']).group(1) else: instance = instance.group(1) + if instance == "bofa.lol": + print("rest in piece bofa, skipping") + continue + # print("{} is on {}".format(f.acct, instance)) try: r = requests.get("https://{}/.well-known/host-meta".format(instance))