about summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorComradeCrow <comradecrow@vivaldi.net>2023-04-24 16:42:27 -0700
committerComradeCrow <comradecrow@vivaldi.net>2023-04-24 16:42:27 -0700
commit407a6f2507c784918a1c77ade4114c706f2c1e34 (patch)
tree7f3d55c555ee8c06f30e103607aa2d333df6c7b2 /src/main.cpp
parent9af660d1fe3506ff129fbb62576a74ec20f9a5f2 (diff)
downloadytcpp-407a6f2507c784918a1c77ade4114c706f2c1e34.tar.gz
changes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c08ba75..8c9503d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,11 +1,11 @@
-#include <cpr/cpr.h>
-#include <nlohmann/json.hpp>
-#include <pybind11/embed.h>
-#include <sqlite3.h>
-#include <string>
-#include <iostream>
-#include <exception>
-#include <vector>
+// #include <cpr/cpr.h>
+// #include <nlohmann/json.hpp>
+// #include <pybind11/embed.h>
+// #include <sqlite3.h>
+// #include <string>
+// #include <iostream>
+// #include <exception>
+// #include <vector>
 
 #include "tui.hpp"
 #include "invapi.hpp"
@@ -13,16 +13,19 @@
 #include "sqliteinterface.hpp"
 
 
-namespace py = pybind11;
+// namespace py = pybind11;
 using namespace std;
 
-int main() {
+int main(int argc, char **argv) {
 
-    // YtdlpWrapper yt;
+    YtdlpWrapper yt;
+    yt.searchVideos("the very thought of you", 5);
     // nlohmann::json j = yt.getJsonSearch("the very thought of you");
     // cout << j << endl;
 
-    openDB();
+    // cout << VERSION << endl;
+
+    // SqliteInterface data;
 
     // vector<string> instances = getInstances();
     // for (auto i: instances) {