| Index: sitescripts/stats/bin/logprocessor.py |
| =================================================================== |
| --- a/sitescripts/stats/bin/logprocessor.py |
| +++ b/sitescripts/stats/bin/logprocessor.py |
| @@ -185,16 +185,20 @@ |
| return "Gecko", "%s.%s.%s" % (match.group(1), match.group(2), match.group(3)) |
| else: |
| return "Gecko", "%s.%s" % (match.group(1), match.group(2)) |
| match = re.search(r"\bCoolNovo/(\d+\.\d+\.\d+)", ua) |
| if match: |
| return "CoolNovo", match.group(1) |
| + match = re.search(r"\bEdge/(\d+)\.\d+", ua) |
| + if match: |
| + return "Edge", match.group(1) |
| + |
| match = re.search(r"\bChrome/(\d+\.\d+)", ua) |
| if match: |
| return "Chrome", match.group(1) |
| match = re.search(r"\bVersion/(\d+\.\d+)", ua) |
| if match and re.search(r"\bMobile Safari/", ua): |
| return "Mobile Safari", match.group(1) |
| if match and re.search(r"\bSafari/", ua): |