#pragma once #ifndef _DOWNLOAD_H_ #define _DOWNLOAD_H_ #define ON 1 #define OFF 0 #include #include #include #include #include #include #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); #endif