`curl-impersonate` not working with new techniques used by brazilian websites

Author: batata004Created Jan 29, 2025Updated Dec 3, 2025

Hi,

Recently we started to get tons of errors using curl-impersonate on websites that it worked just fine for the last 2 years. Those websites activated some protection that is recognizing curl-impersonate and blocking its requests. Take this example:

curl_chrome116 --cacert "/etc/pki/tls/certs/ca-bundle.crt" "https://www.americanas.com.br"

It returns this error:

curl: (56) HTTP/2 stream 1 was reset

Is there any flag or something I can do to circunvent this new protection?

Thanks a lot and I appreciate this library, it always worked perfectly to me!

Source: lwthiker/curl-impersonate