diff --git a/setup/browser_data.py b/setup/browser_data.py index 3904feb883..b1196203f1 100644 --- a/setup/browser_data.py +++ b/setup/browser_data.py @@ -29,7 +29,7 @@ def common_user_agents(): count, ua = line.partition(':')[::2] count = int(count.strip()) ua = ua.strip() - if len(ua) > 20: + if len(ua) > 25 and 'python' not in ua: ans[ua] = count return ans, list(sorted(ans, reverse=True, key=ans.__getitem__))