From 894cbf86871cb72f966d3198ebbd6d3711eff16e Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Oct 2017 16:38:49 -0400 Subject: [PATCH] Tweaked UA header --- src/main/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/utils/utils.py b/src/main/utils/utils.py index c3989ef..6ace555 100644 --- a/src/main/utils/utils.py +++ b/src/main/utils/utils.py @@ -106,7 +106,7 @@ def close(loop): async def fetch(url, *, params={}, json=False): global session - async with session.get(url, params=params, headers={'User-Agent': 'Myned/Modumind/0.0.1'}) as r: + async with session.get(url, params=params, headers={'User-Agent': 'Myned/Modumind/dev'}) as r: if json: return await r.json() return await r.read()