pornsieve
0.0.0
Search porn sites and filter the results using regular expressions
|
Go to the documentation of this file.
23 #ifndef PORNSIEVE_REDTUBE_HPP
24 #define PORNSIEVE_REDTUBE_HPP
30 #include <string_view>
42 using std::string_view;
107 const vector<string_view> &tags = {},
108 string_view category = {},
110 std::uint32_t page = 1);
114 #endif // PORNSIEVE_REDTUBE_HPP
Namespace for the RedTube API.
Definition: redtube.hpp:38
vector< string > get_tags()
Get a list of tags from RedTube.
Definition: redtube.cpp:80
result_order
Order of the search results.
Definition: search.hpp:46
Types for search functions.
search_result search(media_type type, string_view query, const vector< string_view > &tags={}, string_view category={}, result_order order_by=result_order::none, std::uint32_t page=1)
Search RedTube.
Definition: redtube.cpp:109
vector< string > get_categories()
Get a list of categories from RedTube.
Definition: redtube.cpp:49
media_type
Which type of media to search for.
Definition: search.hpp:64
Search results.
Definition: search.hpp:74