Skip to content

qobulovasror/youtube-vedio-subtitle-downloder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Youtube vedio and suntitle (caption) downloader telegram bot

This telegram bot download subtitles and vedio from YouTube videos.

Installation

  1. Clone the repository:

    git clone https://github.com/qobulovasror/youtube-vedio-subtitle-downloder.git
    cd youtube-vedio-subtitle-downloder
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # For Linux/Mac
    venv\Scripts\activate     # For Windows
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Create .env file and write telegram bot TOKEN

    TOKEN=YOUR_TELEGRAM_BOT_TOKEN
  2. Run the Flask application:

    python app.py

Project Structure

youtube-vedio-subtitle-downloder/

├── venv/ # Virtual environment files

├── app.py # main app

├── .gitignore # Git ignore files list

├── requirements.txt # installition libs

└── README.md # about this project\

Dependencies

  • requests: check vedio existens
  • python-telegram-bot: for working telegram bot
  • youtube-transcript-api: download subtitle from youtube
  • pytube: download video and audio from youtube
  • python-dotenv: for working environment

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages