Best Tools and Techniques to Scrape Website R: What Works in 2023?

33 Replies, 2334 Views

Yo! Scraping dynamic content is the worst, right? I’ve been using rvest + V8 combo for lighter JS stuff, and it’s been a lifesaver.

For heavier sites, RSelenium is the way to go, but yeah, it’s a bit of a beast. If you’re looking for something simpler, htmlunit (via the htmlunit package) is a decent middle ground—it handles JS but isn’t as heavy as Selenium.

Also, don’t sleep on xml2—it’s not as flashy as rvest, but it’s super reliable for parsing.

Messages In This Thread



Users browsing this thread: 1 Guest(s)