bot/cogs/authentication.py
async def get_user_data(username: str, cs: aiohttp.ClientSession):
url = "https://services.runescape.com/m=website-data/"
player_url = url + "playerDetails.ws?names=%5B%22{}%22%5D&callback=jQuery000000000000000_0000000000&_=0"
async with cs.get(player_url.format(username.replace(' ', '%20'))) as r:
# Check clan of player
content = await r.text()
return parse_user(content)
File "/home/$USER/atlantisbot/.venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 92, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientConnectorSSLError: Cannot connect to host services.runescape.com:443 ssl:default [[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1056)]
Workaround: psf/requests#4775 (comment)
bot/cogs/authentication.py
Workaround: psf/requests#4775 (comment)