开发者

Web scraper for C++ similar to Perl's WWW::Mechanize?

开发者 https://www.devze.com 2023-04-03 19:37 出处:网络
I would like to know if there is a web-scraping library/API for C++ similar to Perl\'s WWW::Mechanize?I\'m not only looking for HTML parsing its开发者_高级运维elf, but also support for stateful HTTP b

I would like to know if there is a web-scraping library/API for C++ similar to Perl's WWW::Mechanize? I'm not only looking for HTML parsing its开发者_高级运维elf, but also support for stateful HTTP browsing, submission of Web forms, and maintaining and using cookies, for example to make a Web bot.


For web automation the bottleneck is I/O rather than CPU, which means it doesn't make sense to use a language like C++. Most of these kind of libraries are developed with higher level languages like Perl, Python, etc.

You can use Perl in a C++ program so just use the original Perl library.

0

精彩评论

暂无评论...
验证码 换一张
取 消