lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.45k stars 229 forks source link

Precompiled binary doesn't work, but docker version works well for chatGPT. #230

Open yuanzhanghu opened 2 months ago

yuanzhanghu commented 2 months ago

Precompiled binary DOESN'T work: ./curl_chrome110 'https://chat.openai.com/backend-anon/sentinel/chat-requirements' \ -H 'authority: chat.openai.com' \ -H 'accept: /' \ -H 'content-type: application/json' \ -H 'oai-device-id: 010cc524-3fa8-443e-96b3-228f0bb5ad68' \ --data-raw '{}' \ --compressed

But docker version works well: docker run --rm lwthiker/curl-impersonate:0.6-chrome curl_chrome110 'https://chat.openai.com/backend-anon/sentinel/chat-requirements' \ -H 'authority: chat.openai.com' \ -H 'accept: /' \ -H 'content-type: application/json' \ -H 'oai-device-id: 010cc524-3fa8-443e-96b3-228f0bb5ad68' \ --data-raw '{}' \ --compressed