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

16 Replies, 1204 Views

Lol, robot.txt is like the bouncer at a club—it tells you where you *can't* go, not where the party’s at.

But sometimes the sitemap’s hiding in there. If it is, scrape that instead. Python’s `requests` and `lxml` make it easy.

Or just use Octoparse if you’re lazy like me. It’s got a visual scraper that’ll follow sitemaps for you.

Messages In This Thread



Users browsing this thread: 1 Guest(s)