Home

Awesome

musicScraper

CLI tool for scraping information from musical website (Rateyourmusic, Metal Archives), with nice album ASCII art.

Features

Usage

Clone the repo and build the package with go build, with Go version >= 1.21. Put the binary file in ~/.local/bin.

Optionally, create a config.json file in ~/.config/musicScraper and write:

{
    "request_delay": 1,
    "authenticate": true,
    "save_cookies": true
}

IMPORTANT: Cloudflare in Metal Archives

Since Metal Archives has implemented Cloudflare protection, you must export MetalArchives cookies in a ~/.cache/musicScraper/metallumCookie.json file. You have many options to export your cookies, one of them might be Cookie-Editor


musicScraper [OPTIONS] "name_of_artist"

-credits
        Display RYM credits
-expand
        Expand RYM albums (Equivalent of pressing "show all")
-website string
        Desired Website ('metallum' or 'rym')

Credits

Made with Colly and Bubbletea.

Screenshots

1

2