opus_видит капчу и предлагает увидеть видео

This commit is contained in:
nafer committed 2026-03-06 10:22:00 +03:00
1 parent fa80cc6cea
commit f6f4ba4067
2 files changed
+27 -2

No files matched your search

+25 -2
View File
@@ -1,7 +1,30 @@
FROM mcr.microsoft.com/playwright/python:v1.49.0-noble
# Установка системных зависимостей (socat для проброса портов)
RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/*
# Установка системных зависимостей
# socat — проброс портов для CDP
# Видеокодеки и мультимедийные библиотеки для воспроизведения видео в Chrome
RUN apt-get update && apt-get install -y \
socat \
libgstreamer1.0-0 \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libavcodec-extra \
libavformat-dev \
libavutil-dev \
libnss3 \
libatk-bridge2.0-0 \
libdrm2 \
libxkbcommon0 \
libgbm1 \
libvpx-dev \
libopus-dev \
fonts-liberation \
fonts-noto-color-emoji \
fonts-noto-cjk \
&& rm -rf /var/lib/apt/lists/*
# Установка дополнительных Python зависимостей
RUN pip install --no-cache-dir --root-user-action=ignore \
+2
View File
@@ -313,6 +313,8 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
"--enable-unsafe-swiftshader",
"--ignore-gpu-blocklist",
"--enable-webgl",
"--use-gl=angle",
"--use-angle=swiftshader",
"--test-type",
"--load-extension=/app/stealth-extension",
"--disable-extensions-except=/app/stealth-extension",