2
0

close #8 close #11 close 16; Detect Miui, HeadlessChrome and Google Ads Bots

This commit is contained in:
Miloš Mileusnić
2022-10-01 19:50:29 +02:00
parent d518f085ae
commit 3c17a2956c
3 changed files with 32 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Go/Golang package for parsing user agent strings [![GoDoc](https://godoc.org/github.com/mileusna/useragent?status.svg)](https://godoc.org/github.com/mileusna/useragent)
Use `useragent.Parse(userAgent string)` function to parse browser's and bot's user agents strings and get:
Use `useragent.Parse(userAgent string)` function to parse browser's and bot's user agents strings and get:
+ User agent name and version (Chrome, Firefox, Googlebot, etc.)
+ Operating system name and version (Windows, Android, iOS etc.)
+ Device type (mobile, desktop, tablet, bot)