Archived
1
0
Fork 0

Update wikilib.py

This commit is contained in:
yzhh 2020-06-15 23:33:06 +08:00
parent 2f4cdd036e
commit e7130933a8

View file

@ -22,7 +22,7 @@ def Wiki(path1,pagename):
except Exception: except Exception:
return ('找不到条目。') return ('找不到条目。')
else: else:
return ('您要的'+pagename+''+'https://'+path1+'.gamepedia.com/'+urllib.parse.quote(pagename.encode('UTF-8'))) return ('您要的'+pagename+''+path1+urllib.parse.quote(pagename.encode('UTF-8')))
else: else:
try: try:
z = x[y]['fullurl'] z = x[y]['fullurl']