lwthiker/curl-impersonate

By lwthiker

Updated 12 months ago

curl-impersonate: A special build of curl that can impersonate Chrome, Edge, Safari and Firefox.

Image
1

50K+

A special build of curl that can impersonate the four major browsers: Chrome, Edge, Safari & Firefox. curl-impersonate is able to perform TLS and HTTP handshakes that are identical to that of a real browser.

See the GitHub repository for more information: https://github.com/lwthiker/curl-impersonate

The images in this repository are based on Alpine Linux and contain a compiled, ready-to-use version of curl-impersonate.

Tags

There are two separate images: The chrome image is used to impersonate Chrome, Edge and Safari. The firefox image is used to impersonate Firefox.

  • 0.5.2-chrome-alpine, 0.5.2-chrome, 0.5-chrome - Chrome image, Alpine Linux
  • 0.5.2-ff-alpine, 0.5.2-ff, 0.5-ff - Firefox image, Alpine Linux
  • 0.5.2-chrome-slim-buster, 0.5-chrome-slim-buster - Chrome image, Debian
  • 0.5.2-ff-slim-buster, 0.5-ff-slim-buster - Firefox image, Debian
Older tags
  • 0.5.1-chrome-alpine, 0.5.1-chrome
  • 0.5.1-ff-alpine, 0.5.1-ff
  • 0.4.1-chrome-alpine, 0.4.1-chrome
  • 0.4.1-ff-alpine, 0.4.1-ff
  • 0.3.2-chrome-alpine, 0.3.2-chrome, 0.3-chrome-alpine, 0.3-chrome
  • 0.3.2-ff-alpine, 0.3.2-ff, 0.3-ff-alpine, 0.3-ff
  • 0.3.1-chrome-alpine, 0.3.1-chrome
  • 0.3.1-ff-alpine, 0.3.1-ff

How to use this image

Each image contains the curl-impersonate binary and the wrapper scripts needed to run curl-impersonate with all the correct flags. For example, to impersonate Chrome 99, run the following:

$ docker run --rm lwthiker/curl-impersonate:0.5-chrome curl_chrome101 https://www.wikipedia.org

To impersonate Firefox 95, run the following:

$ docker run --rm lwthiker/curl-impersonate:0.5-ff curl_ff102 https://www.wikipedia.org

See the GitHub repository for more browsers and different options for running curl-impersonate.

Docker Pull Command

docker pull lwthiker/curl-impersonate