Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qobulovasror/youtube-vedio-subtitle-downloder
https://github.com/qobulovasror/youtube-vedio-subtitle-downloder
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/qobulovasror/youtube-vedio-subtitle-downloder
- Owner: qobulovasror
- Created: 2024-01-14T19:32:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-28T11:36:19.000Z (8 months ago)
- Last Synced: 2024-03-28T12:49:46.533Z (8 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube vedio and suntitle (caption) downloader telegram bot
This telegram bot download subtitles and vedio from YouTube videos.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/qobulovasror/youtube-vedio-subtitle-downloder.git
cd youtube-vedio-subtitle-downloder
```2. Create a virtual environment and activate it:
```bash
python -m venv venv
source venv/bin/activate # For Linux/Mac
venv\Scripts\activate # For Windows
```3. Install the required dependencies:
```bash
pip install -r requirements.txt
```## Usage
1. Create .env file and write telegram bot TOKEN
```bash
TOKEN=YOUR_TELEGRAM_BOT_TOKEN
```
2. Run the Flask application:
```bash
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](LICENSE) file for details.