mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-10-11 03:46:33 +00:00
Store the supported browsers list as a JSON file
For easier programmatic access from scripts, etc., store the list of supported browsers in a browsers.json file. For each browser we store its details (name, version), which curl-impersonate binary is needed (chrome vs. firefox) and the name of the wrapper script.
This commit is contained in:
@@ -40,6 +40,8 @@ The following browsers can be impersonated.
|
||||
|  | 100 | 100.0 | Windows 10 | `ff100` | [curl_ff100](firefox/curl_ff100) |
|
||||
|  | 15.3 | 16612.4.9.1.8 | MacOS Big Sur | `safari15_3` | [curl_safari15_3](chrome/curl_safari15_3) |
|
||||
|
||||
This list is also available in the [browsers.json](browsers.json) file.
|
||||
|
||||
## Basic usage
|
||||
|
||||
For each supported browser there is a wrapper script that launches `curl-impersonate` with all the needed headers and flags. For example:
|
||||
|
||||
Reference in New Issue
Block a user