Safesearch entfernt

This commit is contained in:
Akamaru 2016-01-31 19:08:46 +01:00
parent 8721f76ba4
commit a930699f83

View File

@ -4,7 +4,8 @@ function googlethat(query)
local cseid = cred_data.google_cse_id
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 "")
-- Do the request