Quick tutorial on how to limit asynchronous python connections when web scraping. This can reduce and balance out web scraping speed to avoid scraping pages too fast and blocking.
"Error 1020: Access Denied" can be seen when web scraping websites powered by Cloudflare CDN. This means Cloudflare has blocked your scraper's IP address. This can be caused by a variety of reasons from web scraping too fast or using low-quality proxies.
This error can be avoided by using high-quality proxies or web scraping APIs like ScrapFly.
Alternatively, see our how to scrape without getting blocked tutorial on best practices for fortifying web scrapers against blocking errors like this one.