#include <HTMLGrabber.H>
Public Member Functions | |
| HTMLGrabber () | |
| Constructor does nothing. | |
| ~HTMLGrabber () | |
| Destructor does nothing. | |
| void | grab (const char *url, char *path) |
| void | grab (const char *url, char *path, const char *post) |
Example of proper use:
#include "HTMLGrabber.h" void myfunc() { char path[HTML_GRABBER_MAX_FILENAME_SIZE]; char *url = "http://www.google.com"; HTMLGrabber htg; htg.grab(url, path); int fd = open(path); // do stuff with the open file close(fd); unlink(path); }
|
||||||||||||||||
|
|
|
||||||||||||
|
|
1.4.2