A web application that allows users to extract transcripts from YouTube videos and export them as Word documents.
- Extract transcripts from any YouTube video
- Support for multiple languages
- Export transcripts to Word documents (.docx)
- Copy transcripts to clipboard
- Clean and intuitive web interface
- Embedded video player
Add screenshots of the application here after deployment
- Python 3.8 or higher
- pip (Python package installer)
- Clone the repository
git clone https://github.com/yourusername/youtube-transcript-extractor.git
cd youtube-transcript-extractor- Install dependencies
pip install -r requirements.txtstreamlit run src/app.pyThis will start a local web server and open the application in your default browser. If it doesn't open automatically, navigate to the URL shown in your terminal (typically http://localhost:8501).
For those who prefer a command-line interface:
python src/transcript_extractor.py "https://www.youtube.com/watch?v=VIDEO_ID"To specify a language other than English:
python src/transcript_extractor.py "https://www.youtube.com/watch?v=VIDEO_ID" frThe application uses:
- youtube-transcript-api: For fetching transcripts from YouTube
- Streamlit: For the web interface
- python-docx: For generating Word documents
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- youtube-transcript-api for providing the API to access YouTube transcripts
- Streamlit for making it easy to create web applications with Python
- python-docx for Word document generation