First install httpie and jq (pip install httpie
, pip install jq
).
Save mass-fetch.cmd and get-albums.cmd to one directory.
Then create inputfile.txt in the same directory which could be:
Metallica
"Dream Theater"
Leprous
Then run:
mass-fetch.cmd inputfile.txt
It will read inputfile.txt and process every line with get-albums.cmd and outputs to output.txt file:
Metallica;"Kill ’em All"
Metallica;"Ride the Lightning"
Metallica;"Master of Puppets"
Metallica;"The $9.98 C.D. Garage Days Re-Revisited + B Side & Demos"
Metallica;"…and Justice for All"
...
Metallica;"Covering 'em"
Metallica;"Do You Like Our Sound?"
"Dream Theater";"When Dream and Day Unite"
...
"Dream Theater";"The Covers"
"Dream Theater";"When Demos and Singles Unite"
"Dream Theater";"The Covers 2"
Leprous;"Tall Poppy Syndrome"
...
Leprous;"Silent Waters"
Leprous;"Aeolia"