A simple GUI application to generate and download YouTube video transcripts with a modern dark interface.
- Simple PySide6-based GUI interface
- Generate transcripts with or without timestamps
- Works with various YouTube URL formats (videos, shorts, etc.)
- Save transcripts as text files
- Modern dark mode interface
- Python 3.7+ installed on your system
- Terminal/Command Prompt access
git clone <your-repo-url>
cd youtube-transcript-python
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt
python youtube_transcript.py
pip install PySide6
pip install youtube-transcript-api
Virtual environments keep your project dependencies isolated from your system Python. This prevents conflicts between different projects.
On Linux/macOS:
chmod +x setup_env.sh
./setup_env.sh
On Windows:
setup_env.bat
# Create virtual environment
python -m venv venv
# Activate virtual environment (REQUIRED before installing packages)
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the app
python youtube_transcript.py
- Isolation: Each project has its own packages
- Clean system: No conflicts with system Python
- Reproducibility: Easy to recreate the exact environment
- Dependency management: Clear what packages your project needs
- Launch the application - A dark-themed GUI window will appear
- Enter YouTube URL - Paste any YouTube video URL in the URL field
- Optional title - Add a custom title for your transcript file
- Fetch transcript - Click "Fetch Transcript" to retrieve the transcript
- Download options:
- Download Simple - Plain text transcript
- Download Full - Transcript with timestamps
https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
https://www.youtube.com/shorts/VIDEO_ID
https://www.youtube.com/embed/VIDEO_ID
"Module not found" errors:
- Ensure all dependencies are installed:
pip install -r requirements.txt
GUI not displaying:
- Check if PySide6 is properly installed
- Verify Python version compatibility (3.7+)
Transcript fetch failures:
- Ensure the YouTube video has available transcripts
- Check your internet connection
- Verify the URL format is correct
- OS: Windows, macOS, or Linux
- Python: 3.7 or higher
- Memory: Minimum 100MB RAM
- Display: 500x400 minimum resolution
To contribute or modify:
- Install development dependencies
- Make your changes
- Test with various YouTube URLs
- Ensure the GUI remains responsive
[Add your license information here]
Note: This application uses the YouTube Transcript API and is subject to YouTube's terms of service. Ensure you have permission to download transcripts for the content you're accessing.