Stories from the Web Crawling trenches in environment variables

How do I Make cURL Ignore the Proxy?

Author: Mohan Ganesan

Date: Jan 9, 2024

Unset HTTP_PROXY and HTTPS_PROXY environment variables. Set NO_PROXY to exclude specific hosts/domains from the proxy. Use --noproxy or related curl options to disable the proxy per request.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!