Maintenance patch on the 0.7.x line (backports from main, ahead of the v0.8.0 breaking release).
Fixed
- Markdown (
.md) uploads no longer fail on Python 3.10 (backport of
#1628; fixes #1627).mimetypes.guess_typereturnsNonefor.mdon
Python 3.10 and on hosts without a populated/etc/mime.types, so the upload
fell back toapplication/octet-stream; NotebookLM could not infer a parser
and processing failed server-side (status=ERROR), surfacing as
"Error uploading source" /SourceProcessingError..md/.markdownare now
pinned totext/markdownbefore the opaque fallback. - Clearer error when NotebookLM redirects to its region / anti-abuse access
gate (backport of #1630). A redirect tonotebooklm.googleis now
classified and surfaced with an actionable message instead of an opaque
failure. - Interactive
notebooklm loginno longer hangs 5 minutes and silently
fails to save auth (backport of #1700; fixes #1697). The login-success
detector used Playwright's defaultwait_until="load", but
notebooklm.google.comis a streaming SPA that never fires theloadevent
(readyStatestaysinteractive), so the wait blocked until timeout even
though sign-in had succeeded — printing "Login not detected within 5 minutes"
and never writingstorage_state.json. The initial navigation and the
success detector now passwait_until="commit"(the same level the existing
cookie-forcing navigations already use), so login is detected as soon as the
authenticated host is reached.
PyPI: pip install notebooklm-py==0.7.3
Full changelog: v0.7.2...v0.7.3