webfinger is NOT a joke.

This commit is contained in:
Lynne 2019-02-07 10:58:27 +10:00
parent 5d62b17310
commit 0d162b067b
No known key found for this signature in database
GPG Key ID: FB7B970303ACE499

View File

@ -97,7 +97,7 @@ 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... (do not laugh at this. WebFinger is a federated protocol. https://wikipedia.org/wiki/WebFinger)")
instance = re.search(r"^.*@(.+)", f.acct)
if instance == None:
instance = re.search(r"https?:\/\/(.*)", cfg['site']).group(1)