Relative Content

Tag Archive for pythonasync-awaitpython-asyncioaiohttp

aiohttp showing 403 Forbidden but requests.get giving 200 OK response

I’m using aiohttp to asynchronously scrap some price from an url.
Before, I used requests.get to synchronously do the same.
I am able successfully able to scrap using requests.get but the same URL throws 403 forbidden error when I’m trying to do it using aiohttp.
I try to find what could be the issue but I haven’t got any success so far.
The URL is important because that site’s URL are getting this 403 error.