fix: android player_client'ı kaldır, sadece cookie + web client kullan

Cookie tek başına bot-check'i çözüyordu ama android client ile
birlikte kullanılınca "No video formats found" hatası sürekli
tekrarladı — android client + cookie kombinasyonu tutarsız bir
manifest döndürüyor gibi. android client'sız, sadece cookie +
varsayılan web client + bestvideo+bestaudio/best format seçiciyle
aynı video id lokal olarak sorunsuz çözüldü.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 17:02:43 +03:00
co-authored by Claude Sonnet 5
parent ab7b1551cc
commit e5a6f67788
2 changed files with 0 additions and 2 deletions
@@ -75,7 +75,6 @@ async function runCapture(job: Job<StreamIngestJob>): Promise<void> {
const ytdlp = spawn(
"yt-dlp",
[
"--extractor-args", "youtube:player_client=android",
...ytdlpCookieArgs(),
"-f", "bestvideo+bestaudio/best", "-o", "-", youtubeUrl,
],
-1
View File
@@ -32,7 +32,6 @@ async function findLiveVideoId(channelId: string): Promise<string | null> {
[
"--simulate",
"--no-warnings",
"--extractor-args", "youtube:player_client=android",
...ytdlpCookieArgs(),
"-f", "bestvideo+bestaudio/best",
"--print", "%(id)s",