Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/thangnm11/uap-core
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Nov 10, 2021
2 parents e66bdb4 + 6f1c62c commit d37fbc9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion regexes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ user_agent_parsers:
- regex: '(DAVdroid)/(\d+)\.(\d+)(?:\.(\d+)|)'

# Downloader ...
- regex: '(Google-HTTP-Java-Client|Apache-HttpClient|Go-http-client|scalaj-http|http%20client|Python-urllib|HttpMonitor|TLSProber|WinHTTP|JNLP|okhttp|aihttp|reqwest|axios|unirest-(?:java|python|ruby|nodejs|php|net))(?:[ /](\d+)(?:\.(\d+)|)(?:\.(\d+)|)|)'
- regex: '(Google-HTTP-Java-Client|Apache-HttpClient|PostmanRuntime|Go-http-client|scalaj-http|http%20client|Python-urllib|HttpMonitor|TLSProber|WinHTTP|JNLP|okhttp|aihttp|reqwest|axios|unirest-(?:java|python|ruby|nodejs|php|net))(?:[ /](\d+)(?:\.(\d+)|)(?:\.(\d+)|)|)'

# Pinterestbot
- regex: '(Pinterest(?:bot|))/(\d+)(?:\.(\d+)|)(?:\.(\d+)|)[;\s(]+\+https://www.pinterest.com/bot.html'
Expand Down
5 changes: 5 additions & 0 deletions tests/test_device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80489,3 +80489,8 @@ test_cases:
brand: 'Apple'
model: 'iPad'

- user_agent_string: 'PostmanRuntime/7.20.1'
family: 'Other'
brand:
model:

7 changes: 7 additions & 0 deletions tests/test_os.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3098,3 +3098,10 @@ test_cases:
patch:
patch_minor:

- user_agent_string: 'PostmanRuntime/7.20.1'
family: 'Other'
major:
minor:
patch:
patch_minor:

7 changes: 7 additions & 0 deletions tests/test_ua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8622,3 +8622,10 @@ test_cases:
major: '3'
minor: '0'
patch:

- user_agent_string: 'PostmanRuntime/7.20.1'
family: 'PostmanRuntime'
major: '7'
minor: '20'
patch: '1'

0 comments on commit d37fbc9

Please sign in to comment.