Spaces:
Sleeping
Sleeping
Commit History
-
Fix Railway deployment: encoding bug, healthcheck, deps pinning, Dockerfile optimization
juns- worker/index.js: Remove Content-Encoding forwarding (CF Workers auto-decompress) - main.py: Add /health endpoint, make Playwright pre-warm non-fatal - railway.toml: Add [deploy] with healthcheck, restart policy - requirements.txt: Pin all dependency versions - Dockerfile: Use playwright install --with-deps, optimize layer caching7962d2c
-
Fix Worker encoding: force Accept-Encoding identity + forward Content-Encoding
duck3-create +1: Claude Opus 4.6Worker was stripping Content-Encoding header from YouTube responses, causing compressed bytes to be unparsable by youtube-transcript-api. Now requests uncompressed data and forwards Content-Encoding if present as fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b2f7e8c -
Fix YouTube IP block: preserve original headers in Worker proxy + route cookie fallback through Worker
duck3-create +1: Claude Opus 4.6- worker/index.js: preserve original request headers (cookies, auth tokens) instead of hardcoding; only override User-Agent and merge CONSENT cookie with existing cookies - main.py: use _WorkerProxySession for cookie fallback path so it also routes through Cloudflare Worker instead of using Railway IP directly Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9a37979
-
Fix Worker to forward POST method and body for InnerTube API
duck3-create +1: Claude Opus 4.6youtube-transcript-api sends POST requests to /youtubei/v1/player for some videos (auto-generated captions). The Worker was only forwarding GET requests, causing 405 Method Not Allowed errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>136083a
-
Add CONSENT cookie to Worker for YouTube bypass
duck3-create +1: Claude Opus 4.6- YouTube returns consent page without cookies - Add CONSENT and SOCS cookies to skip consent screen - Forward Accept-Language from original request Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>aefaf06 -
Add Cloudflare Worker proxy for YouTube IP bypass
duck3-create +1: Claude Opus 4.6- Add worker/ directory with CF Worker proxy code - Add _WorkerProxySession class to route requests through CF Worker - WORKER_URL env var enables CF Worker proxy (priority over PROXY_URL) - CF Worker uses Cloudflare's diverse IPs to bypass YouTube blocks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>30b5d98