about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorComradeCrow <comradecrow@vivaldi.net>2023-05-16 16:55:03 -0700
committerComradeCrow <comradecrow@vivaldi.net>2023-05-16 16:55:03 -0700
commit1ae69826ba8a1e37fac6800b29e8df1992c002dc (patch)
tree1df2f93efe0a464edf9ef487f036a3afd9cfcafa /src
parentefd8f05b287a9cd0b577b121a0407d03e323c772 (diff)
downloadytcpp-1ae69826ba8a1e37fac6800b29e8df1992c002dc.tar.gz
hotfix
Diffstat (limited to 'src')
-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