Should You Do Web Scraping in the Back End? Pros, Cons, and Best Practices or Is It a Good Idea to Do

16 Replies, 1577 Views

Depends on your pain tolerance.

Should you do web scraping in the back end? Maybe, but expect fires.

Better idea: Use a queue (Redis, RabbitMQ) to decouple scraping from your main app. Or go full cowboy and scrape client-side (if the site allows it).

Tools? Selenium for stubborn sites, Cheerio for quick HTML parsing. And always, always monitor your scrapers. They *will* break.

Messages In This Thread



Users browsing this thread: 1 Guest(s)