Thread: [Solved] hitomi.la (webp)
View Single Post
  #19  
Old 10.02.2020, 16:47
damo damo is offline
Super Loader
 
Join Date: Jan 2020
Posts: 25
Default

Quote:
Unfortunately I have no idea what you are using as "base".
The code calls the function for the full-size images with
Code:
url_from_url_from_hash("1567540", {"width":300,"hash":"f3839b72148cb8e57278ba161a3283014da3ff5597a1262480d44cc9022b5a7a","haswebp":1,"name":"01_01.png","height":168,"hasavif":1}, "undefined", "undefined","undefined")
so basically dir,ext,base are all null.

Code:
 Assert.assertEquals( "//ca.hitomi.la/images/a/a7/f3839b72148cb8e57278ba161a3283014da3ff5597a1262480d44cc9022b5a7a.png", url_from_url_from_hash("1567540",mapOf("f3839b72148cb8e57278ba161a3283014da3ff5597a1262480d44cc9022b5a7a","01_01.png"), null, null,null));
Reply With Quote