NotebookLM_Quiz_Extractor

NotebookLM Quiz Extractor

中文 English

中文说明

项目简介

NotebookLM Quiz Extractor 用于从 NotebookLM 右侧应用区域中的选择题测验里导出题目数据,输出为:

当前稳定实现是 chrome-extension,用于处理 NotebookLM 的 iframe / blob 制品页面。它可以导出整个测验,而不只是当前题目。

功能特性

仓库结构

Chrome 插件安装

  1. 打开 chrome://extensions/
  2. 开启 Developer mode
  3. 点击 Load unpacked
  4. 选择目录:

    /path/to/NotebookLMQuizExtractor/chrome-extension

  5. 刷新 NotebookLM 页面

当前版本包含 downloadsdebugger 权限。downloads 用于保存导出文件;debugger 仅用于在 NotebookLM 忽略脚本合成点击时,派发更接近真实鼠标点击的打开测验动作。

使用方法

  1. 打开 NotebookLM 笔记本,并在右侧应用区域显示测验
  2. 点击悬浮 Q 按钮
  3. 点击 刷新
  4. 确认插件检测到了题目总数
  5. 如有需要,点击标题栏右侧齿轮按钮打开设置:
    • 切换界面语言
    • 选择固定导出目录
  6. 点击 导出

批量导出所有测验

  1. 打开 NotebookLM 笔记本主页,确保包含测验入口的列表区域已加载
  2. 点击悬浮 Q 按钮
  3. 点击 导出全部
  4. 插件会按页面顺序自动打开每个测验,并将每个测验保存为单独的 jsonmd 文件
  5. 每导出一个测验后,插件会返回 Studio 列表并继续查找下一个测验

批量导出会根据测验图标、标题和 NotebookLM 生成内容列表识别测验,并尽量排除普通文稿、报告、音频概览等非测验内容。如果列表尚未加载或测验被 NotebookLM 折叠到不可访问区域,可能需要先滚动 Studio 列表让内容加载。

导出文件命名

导出文件名格式为:

<测验标题>-<YYYYMMDD-HHMMSS>.json

以及:

<测验标题>-<YYYYMMDD-HHMMSS>.md

批量导出时文件名前会加上序号,例如:

01-<测验标题>-<YYYYMMDD-HHMMSS>.json

导出内容说明

说明

当前状态


English

Overview

NotebookLM Quiz Extractor exports multiple-choice quizzes from the NotebookLM app panel into:

The current stable implementation is the chrome-extension. It is designed for NotebookLM’s iframe / blob-based rendering model and can export the full quiz, not only the current question.

Features

Repository Layout

Install the Chrome Extension

  1. Open chrome://extensions/
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select:

    /path/to/NotebookLMQuizExtractor/chrome-extension

  5. Refresh the NotebookLM page

The current version requests downloads and debugger. downloads saves exported files. debugger is used only as a fallback to dispatch a more realistic mouse click when NotebookLM ignores synthetic DOM clicks.

Usage

  1. Open a NotebookLM notebook and show the quiz in the right-side app panel
  2. Click the floating Q launcher
  3. Click Refresh
  4. Confirm the extension detects the total number of questions
  5. Click the gear button in the panel header if needed:
    • change UI language
    • choose a fixed export directory
  6. Click Export

Batch Export All Quizzes

  1. Open the NotebookLM notebook page and make sure the list area containing quiz entries has loaded
  2. Click the floating Q launcher
  3. Click Export All
  4. The extension will open each quiz in page order and save each quiz as separate json and md files
  5. After each quiz is exported, the extension returns to the Studio list and continues with the next quiz

Batch export identifies quizzes from quiz icons, titles, and NotebookLM generated-content rows, while trying to exclude regular documents, reports, and audio overviews. If the list has not loaded or NotebookLM keeps items outside the accessible DOM, scroll the Studio list first so the entries load.

Output Filename Format

Exported filenames use:

<quiz-title>-<YYYYMMDD-HHMMSS>.json

and:

<quiz-title>-<YYYYMMDD-HHMMSS>.md

Batch export prefixes filenames with a sequence number, for example:

01-<quiz-title>-<YYYYMMDD-HHMMSS>.json

Output Content

Notes

Status