Add YouTube cookie support to Playwright fallback for bot bypass

Load cookies.txt (Netscape format) into Playwright browser context
before navigating to YouTube, enabling authenticated access to bypass
bot detection that blocks transcript retrieval.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 07:37:48 +00:00
parent 677a79978f
commit 56d5752095
2 changed files with 39 additions and 0 deletions

1
.gitignore vendored
View File

@@ -67,3 +67,4 @@ oracle_data/
# Claude Code
# ========================
.claude/
cookies.txt