Skip to main content

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

Project description

https://badge.fury.io/py/yt-songs.png https://travis-ci.org/MinikOlsen/yt-songs.png?branch=master

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.

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

  • FFmpeg

  • Python >= 2.7 or >= 3.3

License

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

Project details


Download files

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

Source Distribution

yt-songs-1.0.4.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file yt-songs-1.0.4.tar.gz.

File metadata

  • Download URL: yt-songs-1.0.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yt-songs-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a8ebe2371c94386fc0eefb63dce1d7adc856b2e49231fc8dc2920ab1947f03c3
MD5 1c9bf63d281b00abefb5c9ee707457b1
BLAKE2b-256 6f6e86a0b56208cd22a5ba3788a042ddd45ac5aad4e671bbe51c76339761844c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page