/youtube-captions-scraper

This script will generate a JSON file containing the transcript for any Youtube video with captions.

Primary LanguagePython

Youtube Captions Scraper

This script will generate a JSON file containing the transcript for any Youtube video with captions.

Setup

  • clone repo / download script
  • make sure you have python3 and pip installed
  • install the youtube transcript api
  • create a subtitles folder at the same level as captions.py
  • if you didn't clone the repo, make sure you have a CSV for video ids

Resources