Skip to content

Commit

Permalink
new ua
Browse files Browse the repository at this point in the history
  • Loading branch information
3JoB committed Mar 19, 2023
1 parent 4327d31 commit a20f5b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ua/ua.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
Chrome string = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
Edge string = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.57"
AndroidChrome string = "Mozilla/5.0 (Linux; Android 11; Jelly2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36"
ULIBDefault string = "Mozilla/5.0 (compatible; ulib/1.12.0; +https://core.lcag.org/ulib/)"
ULIBDefault string = "Mozilla/5.0 (compatible; ulib/1.17.0; +https://github.com/3JoB/ulib/)"
Nex string = "; "
)

Expand Down Expand Up @@ -41,7 +41,7 @@ func GenerateUA(c Config) string {
buffer.WriteString(h.OS)
buffer.WriteString(Nex)
if !c.DisableULIB {
buffer.WriteString("ulib/1.4.0")
buffer.WriteString("ulib/1.17.0")
buffer.WriteString(Nex)
}
if !c.DisableSysInfo {
Expand Down

0 comments on commit a20f5b9

Please sign in to comment.