diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-17 09:43:20 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-17 09:43:20 +0200 |
commit | e671784144174c4fceaa6df3737ba9b4de4a6c63 (patch) | |
tree | a3ad7d12959b92f5be9430c961d86a9c131d7036 /include/DownloadUtils.hpp | |
parent | b09d1e70661226697e2441c18ea6ff59c387fb93 (diff) |
Youtube: remove dependency on youtube-dl for downloads (also fixes downloads of age restricted videos)
Diffstat (limited to 'include/DownloadUtils.hpp')
-rw-r--r-- | include/DownloadUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index dbac921..398f82c 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -32,6 +32,6 @@ namespace QuickMedia { // Note: if |cloudflare_bypass| is set to true then tls is limited to version 1.1 and the user agent is changed. DownloadResult download_to_file(const std::string &url, const std::string &destination_filepath, const std::vector<CommandArg> &additional_args, bool use_browser_useragent = false, bool cloudflare_bypass = false); // Returns false if there was an error trying to create the download process - bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool use_youtube_dl, bool no_video); + bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool no_video); DownloadResult download_to_json(const std::string &url, rapidjson::Document &result, const std::vector<CommandArg> &additional_args, bool use_browser_useragent = false, bool fail_on_error = true); }
\ No newline at end of file |