#pragma once #define ON 1 #define OFF 0 #include #include #include #include #include #include #include "progress_event.hpp" void downloadFile(const char *url, const char *output, int api); std::tuple, std::vector> fetchLinks(const char *url); std::string fetchTitle(const char *url); std::string downloadPage(const char* url);