YouTube Chapters to JSON

Extract YouTube video chapters as JSON with manual trigger and download option, button placed under video, and dynamic file name with spaces replaced by underscores.

作者
Mazen Tamer
日安装量
0
总安装量
6
评分
0 0 0
版本
1.4
创建于
2024-12-08
更新于
2024-12-08
大小
3.9 KB
许可证
MIT
适用于

YouTube Chapters to JSON

This userscript allows users to easily extract YouTube video chapters as JSON and download them with a single click. Here's what it does:

Key Features

  1. Extract Video Chapters: Converts YouTube chapters into JSON format, including chapter titles and timestamps.
  2. Download as JSON: Save the chapters as a .json file for further use.
  3. Dynamic File Naming: The file is automatically named based on the video title, with spaces replaced by underscores.
  4. Interactive Button: A button appears below the video player to trigger the extraction process.

How It Works

  • The script adds a button under the video player on YouTube.
  • Clicking the button extracts chapter information and generates a JSON file.
  • The JSON file contains chapter titles and their respective timestamps in milliseconds.
  • The file can be instantly downloaded for your use.

This script is perfect for anyone needing to save or process YouTube chapters conveniently. Simply install it, and you're ready to go!