fix: add --remote-components ejs:github to all yt-dlp calls for YouTube 2026 compatibility
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,8 @@ pub fn check_pot_plugin(cookie_source: &CookieSource) -> bool {
|
||||
command
|
||||
.arg("-v")
|
||||
.arg("--simulate")
|
||||
.arg("--remote-components")
|
||||
.arg("ejs:github")
|
||||
.args(cookie_source.to_ytdlp_args())
|
||||
.arg("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
|
||||
let output = command.output();
|
||||
|
||||
Reference in New Issue
Block a user