atmire / COUNTER-Robots

Official list of user agents that are regarded as robots/spiders by COUNTER
MIT License
64 stars 29 forks source link

COUNTER_Robots_list.json: Remove anchors from okhttp #33

Closed alanorth closed 4 years ago

alanorth commented 4 years ago

The okhttp library now uses version strings in its user agent so we should not anchor the string with ^ and $. For example, I have seen both of these recently:

okhttp/3.11.0
okhttp/3.10.0

We could add a /\d to match the version string, but I think that the "okhttp" is unique enough by itself to not be confused with a real human user agent.

See #9

alanorth commented 4 years ago

Rebased against latest mаster branch.