V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
fuchaofather
V2EX  ›  Java

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

  •  
  •   fuchaofather · 2019-03-04 15:12:05 +08:00 · 2874 次点击
    这是一个创建于 1851 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    4 条回复    2019-03-05 08:23:22 +08:00
    feelinglucky
        1
    feelinglucky  
       2019-03-04 15:21:46 +08:00
    为何在提问之前不 Google 下?

    https://github.com/ua-parser/uap-java
    fuchaofather
        2
    fuchaofather  
    OP
       2019-03-04 15:41:17 +08:00
    @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
       2019-03-04 15:57:26 +08:00
    choice4
        4
    choice4  
       2019-03-05 08:23:22 +08:00 via Android
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3215 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:37 · PVG 19:37 · LAX 04:37 · JFK 07:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.