mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-08-26 04:28:13 +00:00
Add signature for Chrome 99 on Android phone
Add support for impersonating Chrome 99 on Android 12 (Pixel 6 was
chosen as an arbitrary Android phone to impersonate). The TLS signature
for Chrome on Android is identical to Chrome on Windows. The difference
is in a few HTTP headers ('sec-ch-ua-mobile', 'sec-ch-ua-platform' and
'user-agent').
This commit is contained in:
@@ -128,6 +128,7 @@ class TestImpersonation:
|
||||
# Test wrapper scripts
|
||||
("chrome/curl_chrome98", None, "chrome_98.0.4758.102_win10"),
|
||||
("chrome/curl_chrome99", None, "chrome_99.0.4844.51_win10"),
|
||||
("chrome/curl_chrome99_android", None, "chrome_99.0.4844.73_android12-pixel6"),
|
||||
("chrome/curl_edge98", None, "edge_98.0.1108.62_win10"),
|
||||
("chrome/curl_edge99", None, "edge_99.0.1150.30_win10"),
|
||||
("chrome/curl_safari15_3", None, "safari_15.3_macos11.6.4"),
|
||||
@@ -154,6 +155,14 @@ class TestImpersonation:
|
||||
},
|
||||
"chrome_99.0.4844.51_win10"
|
||||
),
|
||||
(
|
||||
"./minicurl",
|
||||
{
|
||||
"LD_PRELOAD": "./chrome/libcurl-impersonate.so",
|
||||
"CURL_IMPERSONATE": "chrome99_android"
|
||||
},
|
||||
"chrome_99.0.4844.73_android12-pixel6"
|
||||
),
|
||||
(
|
||||
"./minicurl",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user