Files
Deheng Huang 6f0d08deae feat(auth): use Patchright for Google authentication
Google blocks personal Gmail sign-in with Playwright's bundled Chromium,
showing "This browser or app may not be secure" error. This commit:

- Add patchright_auth.py module using anti-detection Playwright fork
- Route Google auth through Patchright in auth_manager.py
- Add patchright>=1.50.0 to requirements.txt
- Fall back to agent-browser if Patchright unavailable

Key anti-detection techniques:
- ignore_default_args=["--enable-automation"]
- --disable-blink-features=AutomationControlled
- Uses real Chrome via executable_path
- Persistent context for session management

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 10:21:53 +08:00

20 lines
374 B
Plaintext
Executable File

# nblm Dependencies
# Browser automation now handled by agent-browser (Node.js)
# Environment management
python-dotenv==1.0.0
# Z-Library conversion
ebooklib>=0.18
beautifulsoup4>=4.12.0
lxml>=4.9.0
# PDF text extraction fallback
pypdf>=4.0.0
# NotebookLM API client
notebooklm-py>=0.1.0
# Patchright for Google auth (anti-detection Playwright fork)
patchright>=1.50.0