$0+

YouTube Subtitle Cleaner

I want this!

YouTube Subtitle Cleaner

$0+
✅ How to Use subtitle_downloader.py to Extract Clean YouTube Subtitles

🖥️ Option 1: Run from Mac/Windows Terminal

1. Open Terminal
	•	Mac: Press Cmd + Space, type Terminal, press Enter
	•	Windows: Press Windows Key, type cmd, press Enter

2. Navigate to the folder with your script

Type this command and press Enter:
cd path/to/your/folder

Replace path/to/your/folder with the actual folder location.

Tip: On Mac, you can type cd  and drag the folder into the Terminal.

3. Run the script

Use this command:
python3 subtitle_downloader.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
You can change the command to what you want. Fill in the URL to Links what you want.



💻 Option 2: Run from VS Code or Cursor Terminal

1. Open VS Code or Cursor

Open the folder that contains subtitle_downloader.py.

2. Open the Terminal inside the editor
	•	VS Code: Press Ctrl + ` (backtick key)
	•	Cursor: Use the Terminal tab at the bottom

3. Make sure you’re in the correct folder

If needed, use:
cd path/to/your/folder

4. Run the script
python3 subtitle_downloader.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

📄 Output
	•	A file named cleaned_subtitles.txt will be created in the same folder.
	•	It will contain clean, readable subtitles with one sentence per paragraph.
	•	The temporary .vtt subtitle file will be deleted automatically.
$
I want this!
Size
3.11 KB
Copy product URL