fix: canlı-tespitini tekrar yt-dlp'ye taşı, temiz ISP proxy ekle
Regex tabanlı HTML çıkarımı IP'den bağımsız olarak tutarsız çıktı: YouTube bazen player verisini (videoDetails) sunucu tarafında hiç göndermiyor. yt-dlp'nin kendi extractor'ı engellenmediği sürece her zaman doğru çözüyor, o yüzden kontrol tekrar yt-dlp'ye taşındı — bu sefer üç katmanı birlikte kullanarak: cookie (oturum), pot-provider (PO-token) ve PROXY_URL (temiz residential/ISP IP — Coolify sunucusunun kendi IP'si bir günlük yoğun testten sonra işaretlendi). Oxylabs ISP Proxies ile doğrulandı (gerçek ISP: CenturyLink), datacenter proxy'lerin aksine. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
import { prisma } from "@streamclipper/db";
|
||||
import { env } from "./env";
|
||||
import { lastPollErrors, lastPollDebug } from "./youtubePolling";
|
||||
import { lastPollErrors } from "./youtubePolling";
|
||||
import { lastCaptureDebug } from "./capture/streamIngest";
|
||||
|
||||
export function startServer() {
|
||||
@@ -29,7 +29,6 @@ export function startServer() {
|
||||
recording: c.sessions.length > 0,
|
||||
activeSessionId: c.sessions[0]?.id ?? null,
|
||||
lastPollError: lastPollErrors.get(c.channelId) ?? null,
|
||||
lastPollDebug: lastPollDebug.get(c.channelId) ?? null,
|
||||
})),
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user