USERAGENT no longer exists

This commit is contained in:
jesopo 2019-11-25 05:55:22 +00:00
parent 0fc607b344
commit 7f7a31720c

View file

@ -39,7 +39,7 @@ class FindActorException(Exception):
def find_actor(username, instance): def find_actor(username, instance):
hostmeta = HOSTMETA_TEMPLATE % instance hostmeta = HOSTMETA_TEMPLATE % instance
hostmeta_request = utils.http.Request(HOSTMETA_TEMPLATE % instance, hostmeta_request = utils.http.Request(HOSTMETA_TEMPLATE % instance,
useragent=USERAGENT, parse=True, check_content_type=False) parse=True, check_content_type=False)
try: try:
hostmeta = utils.http.request(hostmeta_request) hostmeta = utils.http.request(hostmeta_request)
except: except: