stop rushing things ...
This commit is contained in:
parent
468e092e21
commit
f965b4f6fc
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue