Options for web scraping - C++ version only

Viewed 58649

I'm looking for a good C++ library for web scraping.
It has to be C/C++ and nothing else so please do not direct me to Options for HTML scraping or other SO questions/answers where C++ is not even mentioned.

4 Answers
  • libcurl to download the html file
  • libtidy to convert to valid xml
  • libxml to parse/navigate the xml

Use myhtml C/C++ parser here; dead simple, very fast. No dependencies except C99. And has CSS selectors built in (example here)

Related