13/06/2012, 04:09 PM
And it works pretty well, apart from a few annoyances.
I was looking for a quick way to view the synopsis and things of all the ranom anime I've downloaded that I don't remember what is, and going to the website itself is not quick. I couldn't find anything, so I whipped this up.
Basically, it searches MAL using the arguments it is given, and, if there is one result, displays some info about it, and if there are more than one, gives you a list, and prompts you to choose one.
It should work in Linux, OS X, and cygwin, provided you install xmlstarlet, which is the only requirment apart from things you should already have (curl, sed, grep, coreutils). (http://xmlstar.sourceforge.net/)
KNOWNDICKS BUGS:
Random HTML &whatever; seem to kill it. The XML parser is at fault here. I need to think of a better way to fix it, than completely removing anything matching &.*;
GET IT HERE AND STUFF: http://spoon.lembas.ws/mal.sh
I was looking for a quick way to view the synopsis and things of all the ranom anime I've downloaded that I don't remember what is, and going to the website itself is not quick. I couldn't find anything, so I whipped this up.
Basically, it searches MAL using the arguments it is given, and, if there is one result, displays some info about it, and if there are more than one, gives you a list, and prompts you to choose one.
It should work in Linux, OS X, and cygwin, provided you install xmlstarlet, which is the only requirment apart from things you should already have (curl, sed, grep, coreutils). (http://xmlstar.sourceforge.net/)
KNOWN
Random HTML &whatever; seem to kill it. The XML parser is at fault here. I need to think of a better way to fix it, than completely removing anything matching &.*;
GET IT HERE AND STUFF: http://spoon.lembas.ws/mal.sh