lwthiker / curl-impersonate

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

curl: (56) h2_process_pending_input: nghttp2_session_mem_recv() returned -902:The user callback function failed #101

Open Fre-ak opened 1 year ago

Fre-ak commented 1 year ago

curl_chrome101 https://tickets.vueling.com/

imvvk commented 1 year ago

I can access this website with chrome107, I found that chrome107 added http2_no_server_push. I would like to know how to enable http2_no_server_push programmatically, because I use " curl.setOpt('HTTP2_NO_SERVER_PUSH', true) " here is the error "First argument must be the option internal id or the option name" I'm using node-libcurl and I'm using the latest libcurl-impersonate-chrome.so