17 #ifndef REMWHAREAD_URI_HPP 18 #define REMWHAREAD_URI_HPP 21 #include <curlpp/Easy.hpp> 37 explicit URI(
const string &uri);
47 void set_curlpp_options(curlpp::Easy &request);
48 const string extract_title(
const string &html);
49 const string extract_description(
const string &html);
50 const string strip_html(
const string &html);
53 const string &tag =
"");
54 const string unescape_html(
const string &html);
60 #endif // REMWHAREAD_URI_HPP
const string remove_html_tags(const string &html, const string &tag="")
Remove all HTML tags. If tag is not empty, remove only this tag.
Definition: uri.cpp:137
Definition: search.cpp:23
const string remove_newlines(string text)
Replace newlines with spaces.
Definition: uri.cpp:514
const string archive()
Save URI in archive and return URI.
Definition: uri.cpp:475