about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d42c891..caf2e9a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -56,7 +56,7 @@ void validateStructConversions() {
 
         for (auto& k: i.items()) {
 
-            if (k.key() == "quality" || k.key() == "resolution") cout << k.key() << ": " << k.value() << endl;
+            if (k.key() == "quality" || k.key() == "resolution" || k.key() == "url") cout << k.key() << ": " << k.value() << endl;
         }
     }
 }
@@ -132,8 +132,9 @@ void parseSysArgs(int argc, char **argv) {
 
 int main(int argc, char **argv) {
 
-    parseSysArgs(argc, argv);
-    SqliteInterface sqldb;
-    InvidiousApi invapi("https://httpbin.org/get");
-    invapi.test();
+    validateStructConversions();
+    // parseSysArgs(argc, argv);
+    // SqliteInterface sqldb;
+    // InvidiousApi invapi("https://httpbin.org/get");
+    // invapi.test();
 }
\ No newline at end of file