A python script for downloading lyrics.
requests
lxml
pip install -r requirements.txt
install -m 755 lyryx /usr/bin
- azlyrics artist artist||title
- genius artist artist|album artist||title
- mojim artist artist|album artist||title
- tekstowo artist artist||title
- lyricsjonk artist artist||title
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