Table of Contents
This open source project is a simple way to convert Youtube videos to MP3 files. Get high-quality audio files such as 320kbps for any video on YouTube! Conversion time is almost instant for hour-long videos. The purpose of this application is for personal use only. Only download your own YouTube videos. This is for educational purposes only!
Release 2.5 is has memory saving tactics implemented. In this version, old downloaded videos are deleted from the local workspace. Users will still have their downloaded version but will no long have it in the local file.
To get a local copy up and running follow these simple steps.
-
Clone the repository and change directories into it
git clone https://github.com/Deodutt/YouTube-to-Audio.git cd YouTube-to-Audio\
-
Create a virtual environment and activate it. (Windows command)
py -m venv venv .\venv\Scripts\activate
-
Install the required dependencies
pip3 install git+https://github.com/pytube/pytube pip3 install -r requirements.txt
-
Run the flask application
(for windows) $env:FLASK_APP = "application.py" flask run (for linux) export FLASK_APP=application.py flask run
-
Go to the local callback IP on your browser
http://127.0.0.1:5000/
- 2.5
- Memory saving tactics have been deployed! This stable uses built in os module to remove old downloaded videos from the local directory
- 2.0
- Stable and more secure version with pytube module to download videos. Uses web scrapping BS4 to obtain youtube video information
- 1.0 * Initial Release with third party API
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request