| kurifu |
Oct 20th, 2004 5:10 PM |
You can get CURL for C, which will connect to a server for you... intiate a request and retreive data from a variety of resource types, including HTTP and HTTPS.
From that point you would need to find another library to process the HTML, you can likely find a few DOM (Document Object Model) HTML parsers out there.
The other object is that you can embed an MSIE AtciveX control into your application (Has to be window gui based though) and set the control to hidden if you do not want it to be seen. Send the request and once the request is complete use one of its many COM interfaces to extract the code. I have done this before myself (only likely not for the same purpose, and my controls were not hidden) so I know for fact that it is possible.
|