Skip to content

special iPhone-Agent without browser information? #92

Description

@cgloeckner

Hey,

I'm using httpagentparser in my productive code on logged user agents, in order to create some platform- and browser-analysis.

One of the users was logged using
Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 LightSpeed [FBAN/MessengerLiteForiOS;FBAV/403.1.0.38.106;FBBV/462753247;FBDV/iPhone15,3;FBMD/iPhone;FBSN/iOS;FBSV/16.4;FBSS/3;FBCR/;FBID/phone;FBLC/en;FBOP/0]

which yields no browser key in the resulting dictionary from httpagentparser.detect(line). What's your recommendation to handle this?

{'platform': {'name': 'iOS', 'version': '16.4'}, 'os': {'name': 'iOS'}, 'bot': False, 'dist': {'name': 'iPhone', 'version': '16.4'}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions