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

14 Replies, 1573 Views

Lol no, robots.txt is the worst way to scrape all pages from a website. It’s like asking a bouncer for a guest list—they’ll just tell you who’s *not* allowed in.

Better method: use Google’s "site:" operator (e.g., "site:example.com") to find indexed pages. Or crawl the site manually with Puppeteer/Playwright.

If you’re lazy, services like ScraperAPI handle the heavy lifting (and avoid blocks).

Messages In This Thread



Users browsing this thread: 4 Guest(s)