Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add addition user_agents #2009

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions faker/providers/user_agent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Provider(BaseProvider):
"Windows NT 6.1",
"Windows NT 6.2",
"Windows NT 10.0",
"Windows NT 11.0",
)

linux_processors: ElementsType[str] = ("i686", "x86_64")
Expand Down Expand Up @@ -101,6 +102,10 @@ class Provider(BaseProvider):
"9",
"10",
"11",
"12",
"12.1",
"13",
"14"
)

apple_devices: ElementsType[str] = ("iPhone", "iPad")
Expand All @@ -115,9 +120,13 @@ class Provider(BaseProvider):
"9.3.6",
"10.3.3",
"10.3.4",
"11.4.1",
"12.4.4",
"12.4.8",
"13.5.1",
"14.2",
"14.2.1",
"17.3.1"
)

def mac_processor(self) -> str:
Expand Down