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’m using serpapi-javascript in a Dockerized Node.js environment where external network traffic must go through a corporate proxy.
Currently, it appears that the library does not respect standard environment variables like HTTPS_PROXY, HTTP_PROXY, and NO_PROXY. From reviewing the source, it looks like the underlying https module is used directly, which doesn’t automatically inherit proxy settings from the environment.
Expected Behavior
The library should support proxy configuration via environment variables, similar to how tools like axios, got, or node-fetch behave.
Feature Request
Would you consider adding proxy support either via:
• Native support for HTTPS_PROXY/HTTP_PROXY/NO_PROXY in the client
• Or, allowing users to pass a custom HTTP(S) agent when initializing the SerpApi client?
Thanks for considering this!
The text was updated successfully, but these errors were encountered:
Hi SerpApi team 👋,
I’m using serpapi-javascript in a Dockerized Node.js environment where external network traffic must go through a corporate proxy.
Currently, it appears that the library does not respect standard environment variables like HTTPS_PROXY, HTTP_PROXY, and NO_PROXY. From reviewing the source, it looks like the underlying https module is used directly, which doesn’t automatically inherit proxy settings from the environment.
Expected Behavior
The library should support proxy configuration via environment variables, similar to how tools like axios, got, or node-fetch behave.
Feature Request
Would you consider adding proxy support either via:
• Native support for HTTPS_PROXY/HTTP_PROXY/NO_PROXY in the client
• Or, allowing users to pass a custom HTTP(S) agent when initializing the SerpApi client?
Thanks for considering this!
The text was updated successfully, but these errors were encountered: