Skip to content

Commit 993bc92

Browse files
committed
Support GSA
1 parent 1a800fd commit 993bc92

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/woothee/browser.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ def challenge_safari_chrome(ua, result):
7979
util.update_version(result, chromeVersion)
8080
return True
8181

82+
# GSA
83+
obj = re.search('GSA/([.0-9]+)', ua)
84+
if obj:
85+
version = obj.group(1)
86+
util.update_map(result, dataset.get('GSA'))
87+
util.update_version(result, version)
88+
return True
89+
8290
# Safari
8391
obj = re.search('Version/([.0-9]+)', ua)
8492
if obj:

0 commit comments

Comments
 (0)