This is a simple project to download audio from a youtube video and convert it to mp3 using yt-dlp, ffmpeg and streamlit.
- Clone this repository
git clone https://github.com/Sergimayol/local-downloader.git
- Install the requirements
pip install -r requirements.txt
- Run the app
streamlit run src/app.py
# or
python -m streamlit run src/app.py
- Access the app in your browser at
http://localhost:8501
Note: That this project is meant to be used locally, so it doesn't have any kind of security, so don't use it in a public server. If you don't want the UI, you can use the
scripts/download-audio.sh
script and pass the video url as an argument, it also needs theffmpeg
binary to be in the path and theyt-dlp
python package installed.
- Clone this repository
git clone https://github.com/Sergimayol/local-downloader.git
- Build the image
docker build -t local-downloader .
- Run the container
docker run -p 8501:8501 local-downloader
This project is licensed under the MIT License - see the LICENSE file for details.