Giter VIP home page Giter VIP logo

lyryx's Introduction

lyryx

A python script for downloading lyrics.

Requirements

requests
lxml

Installation

pip install -r requirements.txt
install -m 755 lyryx /usr/bin

Supported sources

Usage

Script download lyrics to a song based on arguments provided. Arguments have to be in artist, artist|album or artist||title format. Fields in the arguments are case insensitive and special characters are deleted from them, words can be separated by ' ', '-' or '_'.

Arguments can also be links to lyrics.

Currently no source supports artist|album|title.

Lyrics will be downloaded to files named by their name in-such-format.

azlyrics is very aggressive against fast downloading, you should limit the speed of your requests with --wait option if you are using it as a source.

Download lyrics by artist to current directory, by default from genius

lyryx burzum

Download lyrics by artist from azlyrics setting request speed to 2.5 seconds

lyryx -s azlyrics -w 2.5 burzum

Download lyrics by artist|album to directory DIR

lyryx -s genius -d DIR 'At the gates|terminal spirit disease'

Download lyrics by artist||title

lyryx -s tekstowo 'cirith-ungol||Fallen IDOLS' 'death||suicide-machine'

Download lyrics by url

lyryx 'https://mojim.com/ush163952.htm'

Print sources table

lyryx -S

Get some help

lyryx -h

lyryx's People

Contributors

tuvimen avatar

Stargazers

 avatar

Watchers

 avatar

lyryx's Issues

A small question about the tool

Hey there , amazing tool here , it works really good , but for some reason when it downloads from genius , it doesn't download all the songs on the page ? for example , https://genius.com/artists/Lil-peep/songs , this page has 605 songs , and when I run lyryx Lil-peep it only downloads 125 songs ,, if it can be adjusted to download from the /artist/name/songs pages that would be really great and useful in NLP projects

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.