Fixed the Wikipedia module's search capability.

This commit is contained in:
Sean B. Palmer
2010-04-03 11:08:03 +01:00
parent c5b234578e
commit b4c7019d53
4 changed files with 30 additions and 5 deletions

View File

@@ -10,7 +10,8 @@ http://inamidst.com/phenny/
import re, urllib
import web
definitions = 'http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions'
# definitions = 'http://code.google.com/p/phenny-ws/wiki/ServiceDefinitions'
definitions = 'http://wiki.github.com/nslater/phenny-ws/'
r_item = re.compile(r'(?i)<li>(.*?)</li>')
r_tag = re.compile(r'<[^>]+>')