diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-04 18:34:46 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-04 18:34:46 -0700 |
commit | 9b0c5473222010c5de405713fdbdad258cc268f3 (patch) | |
tree | 7dceb2a0c45f04a6a24aba4a65b297b78ce7703f /src/YtdlpWrapper.hpp | |
parent | a58e7083712a14f3e644b8d3badf4254191199fa (diff) | |
download | ytcpp-9b0c5473222010c5de405713fdbdad258cc268f3.tar.gz |
changes to ytdlp wrapper
fix video to and from json for lists of formats
Diffstat (limited to 'src/YtdlpWrapper.hpp')
-rw-r--r-- | src/YtdlpWrapper.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/YtdlpWrapper.hpp b/src/YtdlpWrapper.hpp index 81857c9..9ee2410 100644 --- a/src/YtdlpWrapper.hpp +++ b/src/YtdlpWrapper.hpp @@ -13,10 +13,8 @@ class YtdlpWrapper { Video::video getVideoByUrl(const std::string& url); std::vector<Video::video> searchVideos(const std::string& searchterm, int limit = 1); private: - pybind11::object get_ytdl(); - pybind11::object ytdl = pybind11::none(); - pybind11::scoped_interpreter guard{}; -}; + pybind11::object get_ytdl(); +}; #endif \ No newline at end of file |