myanimelist with 1 result
you can set number of results
This commit is contained in:
parent
a752cabca5
commit
aa2db63a62
@ -1,5 +1,6 @@
|
||||
function getAnime(query)
|
||||
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&hl=de&q=site%3Amyanimelist.net"
|
||||
local number = 1 -- Set number of results
|
||||
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&hl=de&rsz="..number.."&q=site%3Amyanimelist.net"
|
||||
local parameters = "+".. (URL.escape(query) or "")
|
||||
|
||||
-- Do the request
|
||||
|
Reference in New Issue
Block a user