Kodehawa/imageboard-api

Invalid URLs (Danbooru)

Fabricio20 opened this issue · 0 comments

The current Danbooru impl is prepending https://danbooru.donmai.us to the url if the url does not start with it, however, there are multiple instances where Danbooru will return their other domains such as raikou1 or raikou2.

This results in the following URL:
https://danbooru.donmai.ushttps//raikou1.donmai.us/XX/XX/XXXXXX.jpg

At the same time, you can notice the original URL is also broken with https//.