Currently, the getImageUrl function uses hard-coded image resolving data to resolve an image URL and this produces the wrong URL when Hitomi changes its image resolving data.
You can solve this problem just by fetching the data whenever the function is called, although it costs a lot.
So, I suggest making a class that can obtain and store the data out of necessity.
In that way, users can get proper URLs at a low cost even if Hitomi changes their method to get the URLs.
Currently, the getImageUrl function uses hard-coded image resolving data to resolve an image URL and this produces the wrong URL when Hitomi changes its image resolving data. You can solve this problem just by fetching the data whenever the function is called, although it costs a lot. So, I suggest making a class that can obtain and store the data out of necessity. In that way, users can get proper URLs at a low cost even if Hitomi changes their method to get the URLs.