Updated the ytmusic cookies situation
This commit is contained in:
@@ -69,6 +69,9 @@ impl YtDlpBackend {
|
||||
let mut cmd = Command::new("yt-dlp");
|
||||
cmd.args(args).stdout(Stdio::piped()).stderr(Stdio::piped());
|
||||
|
||||
// Allow yt-dlp to fetch updated JS challenge solver scripts
|
||||
cmd.args(["--remote-components", "ejs:github"]);
|
||||
|
||||
// Add cookies if configured
|
||||
if let Some(ref cookies) = self.cookies_path {
|
||||
cmd.arg("--cookies").arg(cookies);
|
||||
|
||||
Reference in New Issue
Block a user