github jacob-bd/notebooklm-mcp-cli v0.5.6
v0.5.6 — Windows auth & console fixes

5 hours ago

What's Fixed

  • Windows: manual cookies rejected after import (Issue #105)nlm login --manual --file saved cookies correctly, but subsequent requests to notebooklm.google.com were rejected by Google (302 → login page) because the page-fetch headers included macOS-specific Client Hints (sec-ch-ua-platform: "macOS", sec-ch-ua, sec-ch-ua-mobile). When cookies were captured from a Windows Chrome session, the OS fingerprint mismatch caused Google to reject the session. Removed all three sec-ch-ua* headers (they're optional per spec) and switched to a platform-neutral Linux Chrome UA. Also added multi-pattern CSRF token fallback and a make_console(safe_box=True) factory to prevent UnicodeEncodeError crashes on Windows cp1251/cp1252 codepage terminals. Thanks to @pakulyaev for the detailed diagnosis!

  • Windows: IPv6 WebSocket connection error during nlm login (Issue #108) — On Windows, Chrome's DevTools debugger binds to 127.0.0.1 (IPv4), but websocket-client resolves localhost to ::1 (IPv6), causing PermissionError: [WinError 10013]. Added _normalize_ws_url() to rewrite ws://localhost:ws://127.0.0.1: at all 4 WebSocket connection sites. Thanks to @theteleporter for the spot-on diagnosis!

Don't miss a new notebooklm-mcp-cli release

NewReleases is sending notifications on new releases.