fix: bgutil-ytdlp-pot-provider ile PO-token duvarını aş

Cookie bot-check'i çözdü ama "The page needs to be reloaded" hatası
kalıcıydı — YouTube artık proof-of-origin token da istiyor. Coolify
stack'ine brainicism/bgutil-ytdlp-pot-provider sidecar servisi
(sc_pot_provider, port 4416) eklendi, api-daemon imajına Python
plugin'i kuruldu, her yt-dlp çağrısına
--extractor-args youtubepot-bgutilhttp:base_url=... eklendi.
ytdlpCookieArgs -> ytdlpAntiBotArgs olarak birleştirildi.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 17:12:39 +03:00
co-authored by Claude Sonnet 5
parent e5a6f67788
commit fc7d1109aa
7 changed files with 38 additions and 12 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import { prisma } from "@streamclipper/db";
import { env } from "./env";
import { streamIngestQueue } from "./queues";
import { sendTelegramMessage } from "./telegram";
import { ytdlpCookieArgs } from "./ytdlpCookies";
import { ytdlpAntiBotArgs } from "./ytdlpCookies";
const execFileAsync = promisify(execFile);
@@ -32,7 +32,7 @@ async function findLiveVideoId(channelId: string): Promise<string | null> {
[
"--simulate",
"--no-warnings",
...ytdlpCookieArgs(),
...ytdlpAntiBotArgs(),
"-f", "bestvideo+bestaudio/best",
"--print", "%(id)s",
liveUrl,