diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-16 16:55:03 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-05-16 16:55:03 -0700 |
commit | 1ae69826ba8a1e37fac6800b29e8df1992c002dc (patch) | |
tree | 1df2f93efe0a464edf9ef487f036a3afd9cfcafa /src | |
parent | efd8f05b287a9cd0b577b121a0407d03e323c772 (diff) | |
download | ytcpp-1ae69826ba8a1e37fac6800b29e8df1992c002dc.tar.gz |
hotfix
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 11 |
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 |