fix: use IPv4 for YouTube extraction

YouTube returned an anti-bot challenge on the default network route. The same installed extractor succeeds over IPv4 without cookies. Apply the route choice to shared search, feed and metadata extraction.
This commit is contained in:
2026-10-24 02:50:52 +02:00
parent 96bfc96656
commit 090f077eeb
2 changed files with 9 additions and 1 deletions
+7 -1
View File
@@ -824,7 +824,13 @@ fn isolated_command(program: &OsStr) -> Command {
fn extractor() -> Command {
let mut command = isolated_command(OsStr::new("yt-dlp"));
command.args(["--ignore-config", "--no-warnings", "--socket-timeout", "15"]);
command.args([
"--ignore-config",
"--force-ipv4",
"--no-warnings",
"--socket-timeout",
"15",
]);
command
}