make minetestbot point at wiki.minetest.net and not wiki.minetest.com
wiki.minetest.com is outdated.
This commit is contained in:
parent
1db5664be1
commit
1e7c1a3d0a
2
wiki.py
2
wiki.py
@ -11,7 +11,7 @@ http://inamidst.com/phenny/
|
||||
import re, urllib, gzip, StringIO
|
||||
import web
|
||||
|
||||
wikiuri = 'http://wiki.minetest.com/wiki/%s'
|
||||
wikiuri = 'http://wiki.minetest.net/wiki/%s'
|
||||
|
||||
r_tr = re.compile(r'(?ims)<tr[^>]*>.*?</tr>')
|
||||
r_paragraph = re.compile(r'(?ims)<p[^>]*>.*?</p>|<li(?!n)[^>]*>.*?</li>')
|
||||
|
Loading…
x
Reference in New Issue
Block a user