1 //! \file CurlWikiGrabber.h
3 #ifndef _CURL_WIKI_GRABBER_H
4 #define _CURL_WIKI_GRABBER_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