fix: pass extractor arguments to yt-dlp download process

- Fix: Append --extractor-args youtube:player_client=ios,tv to the MediaDownloadEngine to prevent yt-dlp from falling back to web client and failing with bot detection during download.
This commit is contained in:
nimbold
2026-06-08 00:38:32 +03:30
parent 2d0c05e4e4
commit 2e5b4ae7c3
@@ -44,6 +44,7 @@ final class MediaDownloadEngine: @unchecked Sendable {
var arguments = [
"--newline",
"--ffmpeg-location", ffmpegURL.path,
"--extractor-args", "youtube:player_client=ios,tv",
"-o", item.destinationPath
]