You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using got-scraping 4.0.2 (base on got 13.0.0). When I set 'http2: false' and check the value of got.defaults.options.agent.http/https, by default, the keepAlive values are set to false. I tried extend() it, but got requires a valid agent instead of extending some values! (and its doesnt work with 'new http/https.Agent()')
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using got-scraping 4.0.2 (base on got 13.0.0). When I set 'http2: false' and check the value of got.defaults.options.agent.http/https, by default, the keepAlive values are set to false. I tried extend() it, but got requires a valid agent instead of extending some values! (and its doesnt work with 'new http/https.Agent()')
So, I used it like this. Is it correct?
Beta Was this translation helpful? Give feedback.
All reactions