aboutsummaryrefslogtreecommitdiffstats
path: root/sys/nixpkgs/pkgs/yt/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/yt/src/constants.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/yt/src/constants.rs b/sys/nixpkgs/pkgs/yt/src/constants.rs
index 23e1d9b9..6965ce63 100644
--- a/sys/nixpkgs/pkgs/yt/src/constants.rs
+++ b/sys/nixpkgs/pkgs/yt/src/constants.rs
@@ -2,7 +2,9 @@ use std::{env, fs, path::PathBuf};
pub const HELP_STR: &'static str = include_str!("./help.str");
-pub const YT_DLP_FLAGS: [&str; 12] = [
+pub const YT_DLP_FLAGS: [&str; 13] = [
+ // Ignore errors arising of unavailable sponsor block API
+ "--ignore-errors",
"--format",
"bestvideo[height<=?1080]+bestaudio/best",
"--embed-chapters",