projects
/
apachelog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f715a8
)
Alphebetize bot names in apachelog/resolve.py.
author
W. Trevor King
<wking@drexel.edu>
Thu, 23 Feb 2012 12:49:31 +0000
(07:49 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 23 Feb 2012 12:49:31 +0000
(07:49 -0500)
Also mention "bingbot" as an alias for "msnbot".
apachelog/resolve.py
patch
|
blob
|
history
diff --git
a/apachelog/resolve.py
b/apachelog/resolve.py
index 88843b7f954d51ea0b50b5a643d7d881dbd5cbde..31451fa647b909a6bed9b0ef7bedee908b112123 100644
(file)
--- a/
apachelog/resolve.py
+++ b/
apachelog/resolve.py
@@
-41,10
+41,10
@@
class Resolver (object):
'feedburner': [_re.compile('.*rate-limited-proxy-.*.google.com.*')],
}
for bot in [
+ 'baiduspider',
'googlebot',
+ 'msnbot', # a.k.a: bingbot
'yandex',
- 'baiduspider',
- 'msnbot',
]:
REGEXPS[bot] = [_re.compile('.*{}.*'.format(bot))]