Skip to content

GUI tool to download youtube videos as mp3. Supports a list of a single or many of URLs

Notifications You must be signed in to change notification settings

techb/YT-MP3-DL

Repository files navigation

YouTube to MP3 GUI Tool

Windows exe found here

GUI tool to download a single or list of YouTube videos as MP3s. Simply copy and paste your desired YouTube videos url, separated by a new line. Select the destination folder and click convert. If there is an issue, usually cause by videos becoming unavailable in your country or the video being removed by the author, you will be givin a list of failed urls.

I usually go down the YouTube music rabbit hole on occasion. When I do, I bookmark everything I like to a new music folder and forget about it for 3 months. I wanted an easy way to grab the MP3's and knew about an simple Python lib called youtube_dl. So I hacked together a working script, googled the easiest GUI lib, and slapped some inputs and buttons on the screen. This is the result so far, enjoy!

App Screenshot

Version Info

  • Python :: 3.6
  • pipenv :: 2018.11.26
  • youtube_dl :: 2021.6.6
  • PySimpleGUI :: 4.45.0

Requires

Libs Used

Compile (Windows only)

Build steps to create a .exe binary

  • Must pip install youtube_dl PySimpleGUI OUTSIDE of pipenv to compile to binary
    • Needs to compile from root env, not in pipenv or other virtual envs
    • Install and build youtube_dl and PySimpleGUI in a terminal not within pipenv if you wish to compile an exe
Build
  • $ pip install pyinstaller
  • $ pyinstaller yt-to-mp3.py --onefile --noconsole
  • exe is in dist/<script-name>.exe
  • you can delete build/, /<name>.spec, these are only used to compile

Install and Run

For Windows

Run from source

  • $ git clone git@github.com:techb/YT-MP3-DL.git
  • $ pipenv shell
  • $ pipenv install
  • $ python yt-to-mp3.py

Example using bookmark folder

  • Right click the desired folder containing youtube urls
  • Paste into URL list
    • Can also use a CSV if pasting from another source commas will be removed before loading in the URLs
  • Remove non youtube url label
  • [Browse] to desired folder to save your new MP3's
  • [Convert] starts the conversion process
  • All done!

Copy Bookmark Folder Remove Header Label in List Correct list Browse to folder Convert All finished

About

GUI tool to download youtube videos as mp3. Supports a list of a single or many of URLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages