From e5a6f67788b7f16b2056fea19da5e389c2625f2a Mon Sep 17 00:00:00 2001 From: ayrisdev Date: Sun, 30 Aug 2026 17:02:43 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20android=20player=5Fclient'=C4=B1=20kald?= =?UTF-8?q?=C4=B1r,=20sadece=20cookie=20+=20web=20client=20kullan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/api-daemon/src/capture/streamIngest.ts | 1 - apps/api-daemon/src/youtubePolling.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/apps/api-daemon/src/capture/streamIngest.ts b/apps/api-daemon/src/capture/streamIngest.ts index a01c807..2636d2b 100644 --- a/apps/api-daemon/src/capture/streamIngest.ts +++ b/apps/api-daemon/src/capture/streamIngest.ts @@ -75,7 +75,6 @@ async function runCapture(job: Job): Promise { const ytdlp = spawn( "yt-dlp", [ - "--extractor-args", "youtube:player_client=android", ...ytdlpCookieArgs(), "-f", "bestvideo+bestaudio/best", "-o", "-", youtubeUrl, ], diff --git a/apps/api-daemon/src/youtubePolling.ts b/apps/api-daemon/src/youtubePolling.ts index 012fa5b..cb9bc4c 100644 --- a/apps/api-daemon/src/youtubePolling.ts +++ b/apps/api-daemon/src/youtubePolling.ts @@ -32,7 +32,6 @@ async function findLiveVideoId(channelId: string): Promise { [ "--simulate", "--no-warnings", - "--extractor-args", "youtube:player_client=android", ...ytdlpCookieArgs(), "-f", "bestvideo+bestaudio/best", "--print", "%(id)s",