Safesearch entfernt
This commit is contained in:
parent
8721f76ba4
commit
a930699f83
@ -4,7 +4,8 @@ function googlethat(query)
|
|||||||
local cseid = cred_data.google_cse_id
|
local cseid = cred_data.google_cse_id
|
||||||
local number = 5 -- Set number of results
|
local number = 5 -- Set number of results
|
||||||
|
|
||||||
local api = BASE_URL.."/?key="..apikey.."&cx="..cseid.."&gl=de&num="..number.."&safe=medium&fields=searchInformation%28formattedSearchTime,formattedTotalResults%29,items%28title,link%29&"
|
local api = BASE_URL.."/?key="..apikey.."&cx="..cseid.."&gl=de&num="..number.."&fields=searchInformation%28formattedSearchTime,formattedTotalResults%29,items%28title,link%29&"
|
||||||
|
print(api)
|
||||||
local parameters = "q=".. (URL.escape(query) or "")
|
local parameters = "q=".. (URL.escape(query) or "")
|
||||||
|
|
||||||
-- Do the request
|
-- Do the request
|
||||||
|
Reference in New Issue
Block a user