V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fuchaofather
V2EX  ›  Java

服务端解析 UserAgent 有什么好的轮子吗? Java

  •  
  •   fuchaofather · Mar 4, 2019 · 3399 views
    This topic created in 2611 days ago, the information mentioned may be changed or developed.

    最好能针对国内主流浏览器和操作系统的. 浏览器解析不只是内核而是具体的浏览器, 比如 360, qq, 搜狗 ....

    4 replies    2019-03-05 08:23:22 +08:00
    feelinglucky
        1
    feelinglucky  
       Mar 4, 2019
    为何在提问之前不 Google 下?

    https://github.com/ua-parser/uap-java
    fuchaofather
        2
    fuchaofather  
    OP
       Mar 4, 2019
    @feelinglucky
    自然是找过的:
    https://github.com/nielsbasjes/yauaa 这个有依赖
    https://github.com/HaraldWalker/user-agent-utils 这个修改维护很麻烦 作者 FAQ`Can I add new browsers or operating systems? - Unfortunately not directly`
    我看下你发的这个项目
    fuchaofather
        3
    fuchaofather  
    OP
       Mar 4, 2019
    JohnZorn
        4
    JohnZorn  
       Mar 5, 2019 via Android
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5380 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 03:50 · PVG 11:50 · LAX 20:50 · JFK 23:50
    ♥ Do have faith in what you're doing.