byte zu kilobyte
This commit is contained in:
parent
1808a007f4
commit
e3f1969ca4
@ -25,7 +25,7 @@ function ibSearch:get_ibSearch_sfw(tag)
|
||||
local i = math.random(#data)
|
||||
local url = 'https://im1.ibsear.ch/'..data[i].path
|
||||
local resolution = data[i].width..'x'..data[i].height..'px'
|
||||
local size = ' '..data[i].size..'kb'
|
||||
local size = ' '..math.ceil(data[i].size/1000)..'kb'
|
||||
local source_url = '\nhttps://ibsear.ch/images/'..data[i].id
|
||||
local text = resolution..size..source_url
|
||||
return url, text
|
||||
@ -40,7 +40,7 @@ function ibSearch:get_ibSearch_nsfw(tag)
|
||||
local i = math.random(#data)
|
||||
local url = 'https://im1.ibsearch.xxx/'..data[i].path
|
||||
local resolution = data[i].width..'x'..data[i].height..'px'
|
||||
local size = ' '..data[i].size..'kb'
|
||||
local size = ' '..math.ceil(data[i].size/1000)..'kb'
|
||||
local source_url = '\nhttps://ibsearch.xxx/images/'..data[i].id
|
||||
local text = resolution..size..source_url
|
||||
return url, text
|
||||
|
Reference in New Issue
Block a user