Coder Social home page Coder Social logo

yt-dlp-to-mp3-music-downloader's Introduction

YT-DLP to MP3 music downloader

This small python script uses yt-dlp with a GUI to download videos from Youtube and convert it as an mp3 file for music backup.

About the program

The program has a minimal user interface that just asks for a Youtube link (Regular link or a playlist) and gets it all placed in your music folder (Not sure about Mac and Linux as I have not tested it yet)

Tested website that work with the program

  • Youtube (Obviously)
  • Soundcloud
  • Twitter/X (Why would you do that?)

Requirements to get the program running.

  1. Python (to run it from .py code instead of built executable)
  2. FFmpeg
  3. yt-dlp

Python 3.10 was used for the program, but it is a requirement to have FFmpeg installed

How to use

There are two options to run the file, by downloading the executable in the releases tab. (For Windows users) Or run this command in terminal where you placed the executable.

python main.py

Changing the python file name from main.py to something else can also work for ease of use when you want to use the program from time to time in command line.

  • If you don't want to run the executable in windows simply place the main.py file in C:\Users\<USER> and just write the same command to run it in python.

Things used to write the code

  1. Customtikinter for GUI.
  2. yt-dlp for the ability to download from links.
  3. PyInstaller to be able to create an executable of the python file.

Issues with the program I wish that could be fixed

As for now the program when it downloads a single youtube video it can hang for a bit until it finishes, but you can see a command line in the background to see the progress of your download.

yt-dlp-to-mp3-music-downloader's People

Contributors

kevellion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.