I guess this question is somewhat wide but I’m trying to create a C console application (on windows os) that lets the user input the website address and the app will output the source code on the screen.
The second one was for me to traverse to the site source code to extract some contents.
Given that I know how to code in C (or C++), know how to parse user’s input to valid web address and that I know how to traverse to a file,
is there any C library out there that lets me do the part of getting data over a website, like it’s source code (HTML)?
Many thanks! 🙂
Update: C++ libraries also accpeted, but please show example of how to do the part of extracting it’s source code or a link perhaps, thank you
🙂
cURL. Or, for C++, curlpp.