Fetch lyrics from metal-archives.com using the command-line.
Ensure you have python installed.
$ npm install --global metallum
-
Clone or download this repo.
-
Create an alias on your
.zshrc
or.bash_profile
:alias met="python ~/<path-to-repo>/metallum.py"
~ met <band_name> <song_title>
~ met therion quetzalcoatl
That will search the song “quetzalcoatl” by the band “therion” and return the first coincidence. If not lyrics are found it will return “Lyrics not found”.
By default it will show the artist and song names before the lyrics. To only display the lyrics pass the -t
or --notitle
option.
usage: metallum.py [-h] [-t] band_name song_title
Fetch lyrics from https://metal-archives.com
positional arguments:
band_name The name of the band. e.g.: "Dark Reality"
song_title The title of the song. e.g.: "Mopin Carol"
optional arguments:
-h, --help show this help message and exit
-t, --notitle Don't show title.
Sometimes song titles (or even band names) are too long to type or even to remember them.
Let‘s put as an example the song “In an Excruciating Way Infested with Vermin and Violated by Executioners Who Practise Incendiarism and Desanctifying the Pious” by “Wormphlegm” ... well, you can get the lyrics by just typing:
met wormphlegm infested
Or the song “The Dark Liege Of Chaos Is Unleashed At The Ensorcelled Shrine Of A’Zura Kai (The Splendour Of A Thousand Swords Gleaming Beneath The Blazon Of The Hyperborean Empire Part II)” by “Bal-Sagoth”
met balsagoth chaos
MIT © Noel Delgado