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

16 Replies, 1203 Views

Hey! So robot.txt is more like a "do not enter" sign than a map. It won't list all pages, but if the site has a sitemap URL in there, you're golden!

Check for something like `Sitemap: https://example.com/sitemap.xml`. If it's there, you can scrape that instead.

For tools, Python + BeautifulSoup or Scrapy works. Or just use Screaming Frog SEO Spider—it checks sitemaps automatically.

But yeah, scrape all pages from website robot.txt how to? Only if the sitemap's listed. Otherwise, nah.

Messages In This Thread



Users browsing this thread: 1 Guest(s)