[modsearch] Update URL for search requests
parent
a39a538d80
commit
fa887e115f
|
@ -8,7 +8,7 @@ Licensed under GNU General Public License v2.0
|
||||||
import web
|
import web
|
||||||
|
|
||||||
def mod(phenny, input):
|
def mod(phenny, input):
|
||||||
uri = "http://krock-works.16mb.com/MTstuff/modSearchAPI.php?q="
|
uri = "https://krock-works.uk.to/minetest/modSearchAPI.php?q="
|
||||||
text, sc = web.get(uri + web.urlencode(input.group(2)))
|
text, sc = web.get(uri + web.urlencode(input.group(2)))
|
||||||
text = str(text, 'utf-8')
|
text = str(text, 'utf-8')
|
||||||
data = web.json(text)
|
data = web.json(text)
|
||||||
|
|
Loading…
Reference in New Issue