Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```