Best way to scrape whole website robots.txt – how to do it properly? or How to scrape whole website r

18 Replies, 1340 Views

I’d avoid BeautifulSoup for this—it’s overkill. Robots.txt is just plain text!

Use `requests` to fetch it, then split by lines. For rate limits, add random delays between requests.

Also, check out `brightdata.com` for proxies if you’re doing this at scale.

Messages In This Thread



Users browsing this thread: 1 Guest(s)