LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

curl-impersonate

curl with browser TLS fingerprint impersonation

TLDR

Impersonate Chrome
$ curl_chrome124 [https://example.com]
copy
Impersonate Firefox
$ curl_ff120 [https://example.com]
copy
Impersonate Safari
$ curl_safari17_0 [https://example.com]
copy
Output to file
$ curl_chrome124 -o [output.html] [https://example.com]
copy
With custom headers
$ curl_chrome124 -H "[Header: value]" [https://example.com]
copy
Follow redirects
$ curl_chrome124 -L [https://example.com]
copy

SYNOPSIS

curl_chrome\* [curloptions] url_curl_ff\* [curloptions] url_curl_safari\* [curloptions] url_

DESCRIPTION

curl-impersonate is a modified curl that impersonates browser TLS and HTTP fingerprints. Makes requests identical to Chrome, Firefox, Edge, or Safari. Bypasses bot detection based on TLS fingerprinting.

WRAPPER SCRIPTS

curl_chrome110, curl_chrome124

Chrome impersonation
curl_ff109, curl_ff120
Firefox impersonation
curl_safari15_5, curl_safari17_0
Safari impersonation
curl_edge101
Edge impersonation

VERSIONS

Chrome version: Impersonates Chrome, Edge, SafariFirefox version: Impersonates Firefox

LIBCURL API

$ curl_easy_impersonate(curl, "chrome116", 1);
copy
Set target browser and whether to use default headers.

DOCKER USAGE

$ docker run --rm lwthiker/curl-impersonate:0.6-chrome \
  curl_chrome124 https://example.com
copy

INSTALL

sudo pacman -S curl-impersonate
copy
nix profile install nixpkgs#curl-impersonate
copy

CAVEATS

Some curl flags alter TLS signature and may cause detection. Wrapper scripts set necessary headers. Custom options may break impersonation.

SEE ALSO

curl(1), httpie(1), wget(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid