diff options
Diffstat (limited to 'src/YtdlpWrapper.hpp')
-rw-r--r-- | src/YtdlpWrapper.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/YtdlpWrapper.hpp b/src/YtdlpWrapper.hpp deleted file mode 100644 index 9ee2410..0000000 --- a/src/YtdlpWrapper.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef YTDLPWRAPPER_H -#define YTDLPWRAPPER_H -#include <string> -#include <vector> -#include <iostream> -#include <pybind11/embed.h> -#include <nlohmann/json.hpp> - -class YtdlpWrapper { - - public: - nlohmann::json getJsonSearch(const std::string& searchTerm, int limit = 1); - Video::video getVideoByUrl(const std::string& url); - std::vector<Video::video> searchVideos(const std::string& searchterm, int limit = 1); - private: - pybind11::object get_ytdl(); -}; - - -#endif \ No newline at end of file |