Great project! thanks! There seems to be some minor bugs though. Particularly with the Poster Cover, but it also happens with (Genre, Producer, Background, ect).
In your API you have:
http://daraku-mal-api.net/restful-services/anime/JSON/id/300
{"url":["http:\/\/cdn.myanimelist.net\/images\/anime\/4\/26940.jpg","http:\/\/cdn.myanimelist.net\/images\/anime\/7\/11957.jpg","http:\/\/cdn.myanimelist.net\/images\/anime\/2\/12743.jpg","http:\/\/cdn.myanimelist.net\/images\/anime\/4\/20718.jpg"]}
But when there is only 1 Cover art, your API returns:
http://daraku-mal-api.net/restful-services/anime/JSON/id/1225
[{"anime":{"airedEnd":"1996-06-25T00:00:00.000+02:00","airedStart":"1995-07-25T00:00:00.000+02:00","cover":{"url":"http:\/\/cdn.myanimelist.net\/images\/anime\/7\/12744.jpg"},"duration":"45 min. per episode","episodes":3,
i.e. The cover['url'] key returns a str, and is NOT in a LIST (if only 1 entree is returned).
This currently breaks your code, which is expecting a list, and then when it gets a string (if only 1 entree is returned), it initially passes "h" as the url for the cover. And can't download the cover. It's not able to set the cover art for any anime which only has 1 poster returned by ur API... I think you'll have to have ur API always return a LIST of strings for ur code to work (even if only 1 entree is returned)... or test the code to see if collections['anime']['cover']['url'] is a string or a list before you pass it into the for loop.
This is also the case for when genre/backgrounds/producer/ect/ect all have 1 entree and the API returns it as a single string instead of a list. It complains later that unicode doesn't have __iter__ (later in the plex code).