Skip to main content

All Questions

1 vote
1 answer
568 views

Asynchronous http requests takes the same time as the synchronous one

i'm trying to scrape a website using aiohttp and asyncio in python, but it takes the same amount of time doing it in the synchronous way. This is the asynchronous code that i'm using: base_url="...
lasagn's user avatar
  • 11
1 vote
0 answers
162 views

Python Requests made in parallel but receives responses sequentially

this is the first time I am posting a question. Sorry if the way I present my question is not clear. Basically, I spent the whole day trying to figure out why I am not able to receive responses ...
nivekniveknivek's user avatar
2 votes
0 answers
466 views

Asyncio stops returning response after many requests

I have a list of many urls and I want to check if they are still active. I found some code on https://realpython.com/async-io-python/ and modified it a little. I am very beginner with asyncio so there ...
jan's user avatar
  • 117
2 votes
2 answers
2k views

Different scraped webpage content between requests and aiohttp

I am trying to speed up web scraping by removing blocking I/O, so I decided to change the requests package to aiohttp. Unfortunately after switch to aiohttp, websites built with Angular give me the ...
Bartosz's user avatar
  • 51
5 votes
1 answer
2k views

What is the equivalent method of request.iter_content() in aiohttp?

I am writing a small web scraper which gets a big number of images from a specific site. However, the IO speed was slow so I googled and found asyncio and aiohttp to deal with IO bound operation ...
fatg's user avatar
  • 529