Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What are the best tools or lessons, books or tutorials for learning how to properly do a web scraping/parsing of stock market sites using C++ only, thanks in advance.

What I have tried:

I'm looking for a good C++ library for web scraping.
It has to be 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.
Posted
Updated 14-Feb-20 8:56am
Comments
Richard MacCutchan 14-Feb-20 14:10pm    
C++ does not easily lend itself to such a task, as you would most likely need to write most of the access code yourself. The .NET framework has classes that make this quite a simple task, so you could switch to C# or try with C++/CLI.

You might us a HTTP library (or do you want to write it yourself?) for the task. Have a look at A list of open source C++ libraries - cppreference.com[^].
 
Share this answer
 
In C++/MFC you can use CInternetSession and the CHttpFile classes
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900