Skip to content

Commit

Permalink
User agents update
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Jun 24, 2024
1 parent 9075760 commit 6d258ef
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,40 +148,42 @@ class ClientType:
"kimne78kx3ncx6brgo4mv6wki5h1ko",
(
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
),
)
MOBILE_WEB = ClientInfo(
URL("https://m.twitch.tv"),
"r8s4dac0uhzifbpu9sjdiwzctle17ff",
[
# Chrome versioning is done fully on android only,
# other platforms only use the major version
(
"Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; SM-A205U) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; SM-A102U) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; SM-G960U) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; SM-N960U) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; LM-Q720) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
(
"Mozilla/5.0 (Linux; Android 13; LM-X420) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.6045.66 Mobile Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.6478.110 Mobile Safari/537.36"
),
]
)
Expand All @@ -198,7 +200,7 @@ class ClientType:
"ue6666qo983tsx6so1t0vnawi233wa",
(
"Mozilla/5.0 (Linux; Android 7.1; Smart Box C1) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
"(KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
),
)

Expand Down

0 comments on commit 6d258ef

Please sign in to comment.