What’s the best way to build a Python web crawler for scraping large sites? Alternatively: How can I

16 Replies, 997 Views

For a python web crawler scraping thousands of pages, you *need* proxies. Free ones won’t cut it—try Smartproxy or Oxylabs.

Also, Cloudflare hates fast requests. Slow down (like 2-5 sec delay) and mimic human behavior.

BeautifulSoup + Requests is fine for small stuff, but Scrapy + middleware (like scrapy-rotating-proxies) is better for large sites.

Async? Only if you’re comfy with it. Otherwise, threading is simpler.

Messages In This Thread



Users browsing this thread: 1 Guest(s)