GithubHelp home page GithubHelp logo

thib1984 / ytdlmusic Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 340 KB

ytdlmusic is a command-line program to search and download music files from YouTube without use browser.

License: MIT License

Python 100.00%
youtube youtube-dl mp3 python youtube-search m4a ogg ffmpeg pypi id3v2-tag downloader hacktoberfest hacktoberfest2021

ytdlmusic's Introduction

๐ŸŽต ytdlmusic

ytdlmusic is a command-line program that allows you to search and download music files from YouTube without using a browser. This package is available directly from pypi

โš ๏ธ Disclaimer

Downloading restricted content with this software may be illegal, depending on the laws in your country.

This package uses two important dependencies:

๐Ÿ’ซ How use ytdlmusic

ytdlmusic [KEY WORDS]

demo_1

If the key word has an url format, ytdmusic will download directly the file.

๐Ÿ’ซ How use ytdlmusic in batch mode

You can use a command to loop through a CSV file and download all MP3 files from it.

ytdlmusic --batch path_file had_header sep columns_to_concatenate

demo_2

The CSV file (used in the demo's example) looks like this:

song_column;artist_column;unused column
limujii;above;no
nomyn;awake;use
eyazttyzaeyz;zhhezhahkzaj;inexistant
scandinavianz;avalon;information

๐Ÿš€ Other commands and flags

ytdlmusic , ytdlmusic --help or ytdlmusic -h displays help message.

ytdlmusic --update or ytdlmusic -u upgrades ytdlmusic.

ytdlmusic --fullupdate or ytdlmusic -U upgrades ytdlmusic and the dependencies : yt-dlp and youtube-search-python.

ytdlmusic --version or ytdlmusic -v displays the version of ytdlmusic and its dependencies.

You can also add these flags to your commands (except for help and version) :

--auto or -y : uses auto mode, which chooses the first item for classic use auto-accept other commands.

--choices X or -N X : sets the number of choices (default=5, min=1, max=10).

--k or --keep : keeps the YouTube video title for the filename.

--t or --tag : uses tags of the downloaded file to rename it.

--m4a or -f : uses M4A format.

--ogg or -o : uses OGG format.

--Q or --quality : sets the quality to 320kbs instead of 256kbs for MP3 format.

--nocover : do not add cover art (from youtube thumbnail) to file produced.

--quiet or -q : gives less output.

--verbose or -d : gives more output.

--nocolor or -n : disable colors and emojis in sysout.

โš™๏ธ Install

See this page

โ“ FAQ

See this page

๐Ÿ‘ท Contribution

For contributors

Go to CONTRIBUTING.md. You have to read and accept this Code of conduct.

Tanks to contributors

Thanks to contributors and dependency authors :

๐Ÿ“ฆ Changelog

See this page

License

MIT License

Copyright (c) 2021 thib1984

See this page for details

ytdlmusic's People

Contributors

albenquer avatar elgohr avatar thib1984 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ytdlmusic's Issues

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.