stop rushing things ...

This commit is contained in:
nanos 2024-06-24 17:19:27 +01:00
parent 468e092e21
commit f965b4f6fc

View file

@ -971,7 +971,6 @@ def get(url, headers = {}, timeout = 0, max_tries = 5):
h = headers.copy() h = headers.copy()
if 'User-Agent' not in h: if 'User-Agent' not in h:
h['User-Agent'] = f"FediFetcher (+{arguments.server}; https://go.thms.uk/ff)" h['User-Agent'] = f"FediFetcher (+{arguments.server}; https://go.thms.uk/ff)"
logger.debug(f"User Agent: {h['User-Agent']}")
if timeout == 0: if timeout == 0:
timeout = arguments.http_timeout timeout = arguments.http_timeout