1 #ifndef _CURL_WIKI_GRABBER_H
2 #define _CURL_WIKI_GRABBER_H
6 #include "WalkerException.h"
9 //! Class responsible for grabbing the contents / links of an article
13 /*! Create a new instance.
14 * Might throw an exception, if curl intialization failed
20 curl_global_cleanup();
23 /*! given an URL, return article JSON data
24 * \param url URL of the article
25 * \returns article JSON data
27 std::string
grabUrl(std::string url
) const;
30 #endif // _CURL_WIKI_GRABBER_H