Skip to content

Deodutt/YouTube-to-Audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube to MP3 Converter

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. Contact
  5. Acknowledgements

About The Project

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!

Current Version

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.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

  1. Clone the repository and change directories into it

    git clone https://github.com/Deodutt/YouTube-to-Audio.git
    cd YouTube-to-Audio\
  2. Create a virtual environment and activate it. (Windows command)

    py -m venv venv
    .\venv\Scripts\activate
  3. Install the required dependencies

    pip3 install git+https://github.com/pytube/pytube
    pip3 install -r requirements.txt
  4. Run the flask application

    (for windows)
    $env:FLASK_APP = "application.py"
    flask run
    
    (for linux)
    export FLASK_APP=application.py
    flask run
  5. Go to the local callback IP on your browser

    http://127.0.0.1:5000/



Version History

  • 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

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Acknowledgements

Contact

Linkedin Badge GitHub Badge Twitter Badge

About

A simple open source application to convert YouTube videos to audio MP3 files using Flask and Python. (This is for educational purposes only)

Resources

License

Stars

Watchers

Forks