Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

YT Songs searches, downloads and normalizes the titlesof a list of songs from youtube using youtube-dl.

Project Description

YT Songs searches, downloads and normalizes the titles of a list of songs from youtube using youtube-dl.

Installation

Install with pip:

pip install -U yt-songs

Usage

Create a songs file like test_songs and run:

yt-songs get SONGS_FILE DST_FOLDER

Options:

  • -v or –verbose to print the full youtube-dl output.
  • -s or –skip to skip the normalization.
  • -n NUMBER or –number NUMBER to download a search result other than the first.
  • -c FILE or –config FILE to use a different config file. It may be useful to have multiple config files for different needs.

Configuration

Since yt-songs runs on top of youtube-dl, any youtube-dl option can be used for yt-songs, with exception of logger and progress_hooks, which are set internally.

The following command opens the YAML config file in the user’s preferred editor:

yt-songs config -e

The options for yt-songs are:

name_template
A name template for youtube-dl’s output. This option overwrites its youtube-dl analogue outtmpl in ydl_opts.
temp_folder
A temporary folder to store the files before normalizing the titles.
replacements
The replacements to perform with regular expressions in order to normalize the titles.
ydl_opts
Youtube-dl options.

Requirements

License

MIT licensed. See the bundled LICENSE file for more details.

Release History

Release History

This version
History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yt-songs-1.0.5.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Feb 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting