From bc48d6f7bf88d89846d9eabffc67cedeb312c273 Mon Sep 17 00:00:00 2001 From: ComradeCrow Date: Wed, 19 Apr 2023 00:36:27 -0700 Subject: hotfix --- src/YtdlpWrapper.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/YtdlpWrapper.hpp b/src/YtdlpWrapper.hpp index 9dbd3a2..b1633ca 100644 --- a/src/YtdlpWrapper.hpp +++ b/src/YtdlpWrapper.hpp @@ -17,10 +17,10 @@ namespace Video { struct thumbnail { std::string url; - std::int preference; - std::int id; + int preference; + int id; std::optional resolution; - } + }; struct video { @@ -28,11 +28,12 @@ namespace Video { std::string title; std::string url; std::string channel; - std::int duration; + std::optional duration; std::optional viewcount; std::optional description; - - } + std::vector formats; + std::vector thumbnails; + }; } class YtdlpWrapper { -- cgit 1.4.1-2-gfad0