Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

Commit 8142970

Browse files
committed
Cloudflare now blocks empty user-agents
1 parent 5386964 commit 8142970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vrcpy/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self, loop=None, user_agent=None, verify=True, proxy=None):
1818
# http/s proxy
1919
self.proxy = ("http://%s/" % proxy) if proxy is not None else None
2020
self.loop = loop or asyncio.get_event_loop()
21-
self.user_agent = user_agent or ""
21+
self.user_agent = user_agent or "AIOHTTP/%s (VRCPy)" % aiohttp.__version__
2222

2323
self.session = None
2424
self.apiKey = None

0 commit comments

Comments
 (0)