mirror of
https://github.com/magicseek/nblm.git
synced 2026-09-14 15:39:27 +08:00
6f0d08deae
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>
20 lines
374 B
Plaintext
Executable File
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
|