Skip to content

Fetch transcripts from YouTube through a Tor proxy

License

Notifications You must be signed in to change notification settings

rinvii/yt-transcript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This example program uses torproxy and YouTube Transcript API to fetch transcripts from a cloud machine. It bypasses YouTube's IP blocking on cloud services by routing traffic through the Tor network. Sometimes, requests may fail if the exit node's IP is blocked by YouTube.

This was successfully tested on a GitHub codespace.

Prerequisites

  1. Docker
  2. Python 3.12+
  3. uv

Quickstart

  1. Clone the repository
git clone https://github.com/rinvii/yt-transcript.git
cd yt-transcript
  1. Set up tor proxy
docker compose up -d
  1. Run script
uv run main.py

About

Fetch transcripts from YouTube through a Tor proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages