I made a program to download some files from a website using requests. Since there are quite a few files and it takes quite a while to download everything, I thought about making it async, and apparently aiohttp is the way to go.
However, when running the updated code, I get the following error:
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host [WEBSITE] ssl:default [Invalid argument]. Googling it a bit I didn't find anyone with the same exact problem, and the solutions posted for similar problems didn't work. Does anyone have a clue what I could be doing wrong?