From c64d577cb053b6fee8e84f768419e84c3c9df2cc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 9 Sep 2021 11:54:24 +0200 Subject: Fix peertube video download --- plugins/Page.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Page.hpp') diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 071351b..925a53a 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -135,6 +135,7 @@ namespace QuickMedia { virtual std::unique_ptr create_channels_page(Program *program, const std::string &channel_url) = 0; virtual void set_url(std::string new_url) { url = std::move(new_url); } std::string get_url() { return url; } + virtual std::string get_download_url(int max_height) { return url; } // Returns empty string for no timestamp or if the video doesn't support timestamps. // Timestamp is in seconds. virtual std::string get_url_timestamp() { return ""; } -- cgit v1.2.3