diff --git a/src/main/utils/utils.py b/src/main/utils/utils.py index d75ca93..e32a1aa 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': 'Modumind/0.0.1 (Myned)'}) as r: + async with session.get(url, params=params, headers={'User-Agent': 'Myned/Modumind/0.0.1'}) as r: if json: return await r.json() return await r.read()