Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 740 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 740 Bytes

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