Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bryanfks-dev/yt-downloader
Simple python API to download video and audio from youtube
https://github.com/bryanfks-dev/yt-downloader
ffmpeg pytubefix
Last synced: 29 days ago
JSON representation
Simple python API to download video and audio from youtube
- Host: GitHub
- URL: https://github.com/bryanfks-dev/yt-downloader
- Owner: bryanfks-dev
- Created: 2024-08-07T05:37:57.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-12T16:32:50.000Z (about 1 month ago)
- Last Synced: 2024-10-13T08:22:30.099Z (about 1 month ago)
- Topics: ffmpeg, pytubefix
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YT Downloader
Simple Python API to download any youtube videos or playlists in any video or audio format.
## Requirements
- **Python** >= 3.7
- **pip**
- **FFmpeg** [Check this out](https://www.ffmpeg.org/)## Installation
1. **Clone the repository**
```
git clone https://github.com/bryanfks-dev/YT-Downloader.git
```2. **Modify config.py as you like**
```json
#/lib/config.py{
"OUTPUT_FILE": {
"VIDEO": {
# The extension of the video file
# e.g mp4, mkv, etc.
"EXTENSION": "mp4",
"PATH": "./videos/",
},
"AUDIO": {
# The extension of the audio file
# e.g mp3, m4a, etc.
"EXTENSION": "mp3",
"PATH": "./audios/",
},
}
}
```3. **Install needed depedencies**
```bash
pip install requirements.txt
```4. **Run main.py**
```bash
python main.py
```