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 downloads lyrics based on artist
, artist|album
, artist||title
formats or url. Fields in the arguments are case insensitive and special characters are deleted from them, words can be separated by
, -
or _
.
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
waiting 2.5 seconds between each request
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 the table of sources
lyryx -S
Get some help
lyryx -h