blob: f7cc256802bc6084333f12f77fabd9909057e70e (
plain) (
tree)
|
|
#ifndef YTDLPWRAPPER_H
#define YTDLPWRAPPER_H
#include <string>
#include <pybind11/embed.h>
#include <nlohmann/json.hpp>
class YtdlpWrapper {
public:
nlohmann::json getJsonSearch(const string& searchTerm, int limit = 1);
private:
pybind11::object get_ytdl();
pybind11::object ytdl = pybind11::none();
};
#endif
|