How to scrape all pages from a website using robot.txt – is it possible? or Can you scrape all pages

16 Replies, 1208 Views

Nope, robot.txt won't help you scrape all pages from a website directly. It's for blocking, not indexing.

But like others said, if there's a sitemap, that's your best bet. Try `requests` in Python to fetch the robot.txt, then parse it for a sitemap link.

Or just use Sitebulb or DeepCrawl if you want a no-code solution. They’ll handle sitemaps and crawling for you.

Messages In This Thread



Users browsing this thread: 1 Guest(s)