chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recognise Ultimate people
[ypp-sc-tools.db-live.git]
/
yoweb-scrape
diff --git
a/yoweb-scrape
b/yoweb-scrape
index a943f3cb5a4ccd7951d930486d121c07864948ed..e7e3ec79bd44d952dee663d0874324d805449014 100755
(executable)
--- a/
yoweb-scrape
+++ b/
yoweb-scrape
@@
-248,7
+248,7
@@
u'\\s*\\S*/([-A-Za-z]+)\\s*$|\\s*\\S*/\\S*\\s*\\(ocean\\-wide(?:\\s|\\xa0)+([-A-
skl.msg('puzzle "%s" no standing found' % puzzle)
continue
standing = sl[0]
skl.msg('puzzle "%s" no standing found' % puzzle)
continue
standing = sl[0]
- for i in range(0, len(standingvals)
-1
):
+ for i in range(0, len(standingvals)):
if standing == standingvals[i]:
self.standings[puzzle] = i
if not puzzle in self.standings:
if standing == standingvals[i]:
self.standings[puzzle] = i
if not puzzle in self.standings:
@@
-537,7
+537,7
@@
class ChatLogTracker:
if pattern is None:
pattern_check = lambda vn: True
else:
if pattern is None:
pattern_check = lambda vn: True
else:
- re = '(?:.* )?%s$' % pattern.lower().replace('*','.
*
')
+ re = '(?:.* )?%s$' % pattern.lower().replace('*','.
+
')
pattern_check = regexp.compile(re, regexp.I).match
tries = []
pattern_check = regexp.compile(re, regexp.I).match
tries = []