🎉 Premium Proxies · 24-Hour Free TrialClaim Now
Use Cases

LangChain Proxy Setup for Web Loaders That Load Junk

LangChain proxy setup for WebBaseLoader, PlaywrightURLLoader and AsyncChromiumLoader: why async loaders skip the proxy, and how to gate pages before embedding.

S SparkProxy 0 25 min read
Share
LangChain Proxy Setup for Web Loaders That Load Junk

A langchain proxy problem rarely announces itself. The loader returns a list of Document objects, nothing raises, and the vector store fills with chunks like Access DeniedAccess Denied. Reference #18., empty strings, or Error: Page.goto: net::ERR_NAME_NOT_RESOLVED. This post shows where each LangChain web loader actually reads its proxy setting (some ignore the one you set), how to route the JavaScript-heavy pages through the SparkProxy Scraping API instead, and how to stop bad pages before they become embeddings. Every behaviour below was reproduced on langchain-community 0.4.2 with a local test proxy on 31 October 2026.

What a bad load looks like

LangChain's web loaders are built to keep going. Most of them turn a failure into content instead of an exception, so the first sign of trouble is usually a strange answer from your RAG chain rather than a stack trace. These are the shapes we saw while testing, each reproduced on purpose against a local test server (the "Reference #18" text is our test page, standing in for a real CDN block page):

What `page_content` containsWhich loaderWhat actually happened
`Access DeniedAccess Denied. Reference #18.`WebBaseLoader (`raise_for_status=False`, the default)Target answered 403; the block page was parsed as the document
`""` (empty string)WebBaseLoader async with `continue_on_failure=True`Fetch failed; the loader logged a warning and returned an empty page
`Error: Page.goto: net::ERR_NAME_NOT_RESOLVED at ...`AsyncChromiumLoaderNavigation failed; the exception text became the document
A few hundred characters of nav and footerAny HTTP loader on a client-rendered siteThe HTML shell loaded; the content needs JavaScript
Fewer documents than URLsPlaywrightURLLoader (`continue_on_failure=True`, the default)Failed URLs are logged and dropped, not yielded

Notice that the run-together Access DeniedAccess Denied is itself a clue: soup.get_text() with no separator glues the </code> onto the body. Pass <code>bs_get_text_kwargs={"separator": "\n", "strip": True}</code> and your documents become readable, which also makes block pages easier to spot by eye.</p> <p>Run this after any load before you trust it:</p> <pre><code class="language-python">from collections import Counter def summarize(docs, urls): """Print the signals that show a silent web-loader failure.""" print(f"{len(docs)} documents for {len(urls)} URLs") for doc in docs: text = doc.page_content flag = "" if not text.strip(): flag = "EMPTY" elif text.startswith("Error: "): flag = "LOADER-ERROR" elif len(text) < 500: flag = "SHORT" print(f"{len(text):>7} {flag:<12} {doc.metadata.get('title', '')[:50]} {doc.metadata['source']}") titles = Counter(d.metadata.get("title", "") for d in docs) for title, n in titles.most_common(3): if n > 1 and title: print(f"repeated title x{n}: {title!r}") </code></pre> <p>A title that repeats across many unrelated URLs ("Just a moment...", "Access Denied", "Attention Required") is the fastest tell that you indexed a challenge page several times over.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="diagnosis-order-cheapest-check-first" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#diagnosis-order-cheapest-check-first" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> Diagnosis order, cheapest check first</h2><!----><div class="blog-content"><p>Work down this list. Each step costs less than the one after it, and the first three need no proxy at all.</p> <ol> <li><strong>Is the proxy being used at all?</strong> Several loaders silently skip the setting you passed. Check the loader-specific sections below before anything else; it's the most common cause we found.</li> <li><strong>Do the credentials work?</strong> Test the proxy outside Python so LangChain isn't part of the question.</li> <li><strong>What status did the target return?</strong> Turn on <code>raise_for_status=True</code> (WebBaseLoader) or <code>check_response_status=True</code> (RecursiveUrlLoader) for one run.</li> <li><strong>Is the content rendered client-side?</strong> Compare <code>curl</code> output with what a browser shows.</li> <li><strong>Is it a bot challenge rather than an IP block?</strong> Challenge pages often come back with 403 or 503 and a known title.</li> </ol> <p>The credential check, using SparkProxy's gateway on the Random Rotation port:</p> <pre><code class="language-bash">curl -s -o /dev/null -w "%{http_code}\n" \ -x "http://$SPARK_USER:$SPARK_PASS@gateway.sparkproxy.io:11000" \ https://www.sparkproxy.io/ </code></pre> <p>A <code>200</code> means the proxy path is fine and the problem is inside your loader configuration. A <code>407</code> means the credentials are wrong or your server IP isn't on the whitelist.</p> <p>What a proxy can and cannot fix:</p> <div class="table-wrap"><table><thead><tr><th>Cause</th><th>Typical signal</th><th>Does a proxy fix it?</th></tr></thead><tbody><tr><td>Loader not sending traffic through the proxy</td><td>Same failures with and without proxy settings</td><td>No. Fix the configuration first</td></tr><tr><td>Target blocks your cloud or office IP range</td><td>403 / 429 from the target, works from home</td><td>Yes</td></tr><tr><td>Geo-restricted or geo-varied content</td><td>Wrong language, "not available in your region"</td><td>Yes, with country targeting</td></tr><tr><td>Content rendered by JavaScript</td><td>200 with a near-empty body</td><td>No. Needs a browser or `render_js`</td></tr><tr><td>JavaScript challenge or fingerprint check</td><td>"Just a moment..." titles, 403/503</td><td>Rarely on its own. Needs a real browser or the Scraping API</td></tr><tr><td>Login wall or paywall</td><td>Login form text in every document</td><td>No</td></tr><tr><td>Default `DefaultLangchainUserAgent` header rejected</td><td>403 that disappears with a browser UA</td><td>No. Set a real user agent</td></tr></tbody></table></div> <p>That last row deserves its own note. If <code>USER_AGENT</code> isn't set, <code>langchain_community</code> logs <code>USER_AGENT environment variable not set, consider setting it to identify your requests.</code> and sends the literal string <code>DefaultLangchainUserAgent</code>. WebBaseLoader builds its default headers when the module is imported, so setting <code>os.environ["USER_AGENT"]</code> after the import has no effect on it; we confirmed the header still read <code>DefaultLangchainUserAgent</code>. Set the variable in the shell, or before the first <code>langchain_community</code> import. AsyncChromiumLoader reads it at construction time instead, so it does pick up a late change.</p></div><!--[--><!--]--></section><div class="relative overflow-hidden rounded-2xl bg-gradient-to-br from-[#e11d3a] via-brand to-[#8f1428] p-7 text-white shadow-xl shadow-brand/30 ring-1 ring-white/10 sm:p-9 my-12" data-v-5ff897cc><div class="pointer-events-none absolute -right-16 -top-20 h-64 w-64 rounded-full bg-white/12 blur-3xl" aria-hidden="true" data-v-5ff897cc></div><div class="pointer-events-none absolute -bottom-24 left-8 h-52 w-52 rounded-full bg-black/20 blur-3xl" aria-hidden="true" data-v-5ff897cc></div><span class="promo-shine pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-transparent via-white/25 to-transparent" aria-hidden="true" data-v-5ff897cc></span><div class="relative flex flex-col gap-6 sm:flex-row sm:items-center sm:justify-between" data-v-5ff897cc><div data-v-5ff897cc><span class="mb-3 inline-flex items-center gap-1.5 rounded-full bg-white/15 px-3 py-1 text-xs font-extrabold uppercase tracking-widest ring-1 ring-white/25" data-v-5ff897cc><svg class="h-3.5 w-3.5" viewBox="0 0 384 512" fill="currentColor" aria-hidden="true" data-v-5ff897cc><path d="M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.6-25.9 13.6h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z" data-v-5ff897cc></path></svg> Free trial</span><p class="text-2xl font-extrabold leading-tight sm:text-[1.9rem]" data-v-5ff897cc>Scraping at scale? Skip the blocks.</p><p class="mt-2 max-w-xl text-white/85" data-v-5ff897cc>Fast, unblockable datacentre proxies with unlimited bandwidth.</p><!----></div><div class="flex shrink-0 items-center gap-4" data-v-5ff897cc><!----><a href="/#pricing" class="group inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl bg-white px-7 py-3.5 text-sm font-extrabold text-brand shadow-lg transition hover:-translate-y-0.5 hover:shadow-xl" data-v-5ff897cc>Start Free Trial <svg class="h-4 w-4 transition-transform group-hover:translate-x-1" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true" data-v-5ff897cc><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6" data-v-5ff897cc></path></svg></a></div></div></div><!--]--><!--[--><section id="versions-tested-and-the-langchain-community-sunset" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#versions-tested-and-the-langchain-community-sunset" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> Versions tested, and the langchain-community sunset</h2><!----><div class="blog-content"><p>Every loader in this post lives in <code>langchain-community</code>, and that package has stopped moving. The repository README now says "<code>langchain-community</code> has been sunset", pointing to issue #674 (opened 22 May 2026), which states the sunset "will take effect immediately" and that the package had accepted no new integrations or features for over a year. The last release on PyPI is 0.4.2, uploaded 22 May 2026; the last commit, "sunset package (#679)", landed on 19 June 2026, and GitHub lists the repository as archived. Importing it now prints a <code>DeprecationWarning</code> that reads in part: "<code>langchain-community</code> is being sunset and is no longer actively maintained."</p> <p>What that means in practice: the proxy quirks below will not be fixed upstream. You either work around them as shown, or copy the loader into your own code, which the sunset issue explicitly suggests is the expected path now.</p> <p>Tested stack, 31 October 2026:</p> <div class="table-wrap"><table><thead><tr><th>Package</th><th>Version</th><th>Released</th></tr></thead><tbody><tr><td>langchain-community</td><td>0.4.2</td><td>22 May 2026 (final)</td></tr><tr><td>langchain-core</td><td>1.7.3</td><td>29 Oct 2026</td></tr><tr><td>aiohttp</td><td>3.14.5</td><td>11 Oct 2026</td></tr><tr><td>requests</td><td>2.34.2</td><td>current on PyPI</td></tr><tr><td>playwright (Python)</td><td>1.64.1</td><td>22 Oct 2026</td></tr></tbody></table></div> <p>All tests ran on Python 3.14.2 on Windows Server 2022, against a local HTTP proxy that logged every request, so "went through the proxy" below means the proxy log recorded the hit.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="webbaseloader-proxies-requests_kwargs-and-the-env-var-trap" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#webbaseloader-proxies-requests_kwargs-and-the-env-var-trap" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> WebBaseLoader: proxies, requests_kwargs and the env-var trap</h2><!----><div class="blog-content"><p>WebBaseLoader has two separate HTTP stacks. <code>load()</code> and <code>lazy_load()</code> use a <code>requests.Session</code>. <code>alazy_load()</code>, the deprecated <code>aload()</code>, <code>scrape_all()</code> and <code>fetch_all()</code> use <code>aiohttp</code>. The proxy settings behave differently on each, and the obvious one is the least reliable.</p> <p>The constructor's <code>proxies=</code> argument is copied into <code>session.proxies</code>. The requests documentation warns that session-level proxies "will be overwritten by environmental proxies". We tested it: with <code>HTTP_PROXY</code> pointing at one local proxy and <code>proxies=</code> pointing at another, the request went to the environment one. On a laptop with a corporate proxy variable set, or in a container that inherits <code>HTTPS_PROXY</code>, <code>proxies=</code> is silently ignored.</p> <p>Per-request arguments win over the environment, and <code>requests_kwargs</code> is passed straight into every <code>session.get()</code> call. So for the synchronous path, put the proxy there:</p> <pre><code class="language-python">import os os.environ.setdefault("USER_AGENT", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0 Safari/537.36") from langchain_community.document_loaders import WebBaseLoader PROXY = "http://{}:{}@gateway.sparkproxy.io:11000".format( os.environ["SPARK_USER"], os.environ["SPARK_PASS"] ) loader = WebBaseLoader( web_paths=[ "https://www.sparkproxy.io/docs/scraping-api/", "https://www.sparkproxy.io/blog", ], requests_kwargs={ "proxies": {"http": PROXY, "https": PROXY}, "timeout": 30, }, raise_for_status=True, bs_get_text_kwargs={"separator": "\n", "strip": True}, ) docs = loader.load() </code></pre> <p><code>raise_for_status=True</code> turns a 403 into <code>requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: ...</code> instead of a document. That is what you want during setup. In a long batch you may prefer to catch it per URL, which the pipeline section shows.</p> <p>Two errors you'll meet here, verbatim from our runs. A wrong password or a non-whitelisted IP on an HTTPS target:</p> <pre><code class="language-text">requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.sparkproxy.io', port=443): Max retries exceeded with url: / (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required'))) </code></pre> <p>And a proxy host that refuses the connection shows <code>ProxyError('Unable to connect to proxy', NewConnectionError(...Failed to establish a new connection...))</code> instead. The first is an auth problem; the second is a host, port or firewall problem.</p> <p>For SOCKS5 on port 13000, requests needs <code>pip install "requests[socks]"</code>. Use the <code>socks5h://</code> scheme if you want DNS resolved on the proxy side, which the requests docs describe as the difference between <code>socks5</code> and <code>socks5h</code>. aiohttp has no built-in SOCKS support in its proxy docs, which is one more reason to stay on the HTTP port for LangChain work.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="the-async-path-alazy_load-aiohttp-and-trust_env" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#the-async-path-alazy_load-aiohttp-and-trust_env" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> The async path: alazy_load, aiohttp and trust_env</h2><!----><div class="blog-content"><p>This is where most "my proxy works in the notebook but not in the service" reports come from. The async methods open a fresh <code>aiohttp.ClientSession(trust_env=self.trust_env)</code> for every URL and pass <code>requests_kwargs</code> into <code>session.get()</code>. They never read <code>session.proxies</code>. In our tests:</p> <div class="table-wrap"><table><thead><tr><th>Setup</th><th>Sync `load()`</th><th>Async `alazy_load()`</th></tr></thead><tbody><tr><td>`proxies={...}`</td><td>Proxied (unless an env var overrides it)</td><td>**Direct.** Proxy ignored</td></tr><tr><td>`requests_kwargs={"proxies": {...}}`</td><td>Proxied, beats env vars</td><td>`TypeError: ClientSession._request() got an unexpected keyword argument 'proxies'`</td></tr><tr><td>`requests_kwargs={"proxy": url}`</td><td>`TypeError: Session.request() got an unexpected keyword argument 'proxy'`</td><td>Proxied</td></tr><tr><td>`HTTPS_PROXY` env var only</td><td>Proxied</td><td>**Direct.** `trust_env` defaults to `False`</td></tr><tr><td>Env var plus `trust_env=True`</td><td>Proxied</td><td>Proxied</td></tr></tbody></table></div> <p>aiohttp's own documentation says it plainly: "Contrary to the <code>requests</code> library, it won't read environment variables by default." WebBaseLoader added a <code>trust_env</code> keyword to switch that on, but it defaults to <code>False</code>.</p> <p>The direct-connection failure looks like a network problem, not a proxy problem, which is why it misleads people. The loader retries three times on connection errors, logging <code>Error fetching <url> with attempt 1/3: Cannot connect to host ...</code>, then aborts with <code>Error fetching <url> and aborting, use continue_on_failure=True to continue loading urls after encountering an error.</code> If you take that advice, you get the empty-string documents from the symptoms table.</p> <p>Because <code>requests_kwargs</code> is shared by both stacks, one loader object can't hold a proxy key that suits both. Either export the proxy as an environment variable and pass <code>trust_env=True</code> (both paths then use it; the scope caveat is in the next section), or build the loader for the path you are going to call:</p> <pre><code class="language-python">import os from langchain_community.document_loaders import WebBaseLoader PROXY = "http://{}:{}@gateway.sparkproxy.io:11000".format( os.environ["SPARK_USER"], os.environ["SPARK_PASS"] ) def make_web_loader(urls, *, use_async: bool, concurrency: int = 8) -> WebBaseLoader: """requests wants 'proxies' (a dict); aiohttp wants 'proxy' (a URL string).""" if use_async: kwargs = {"proxy": PROXY} else: kwargs = {"proxies": {"http": PROXY, "https": PROXY}, "timeout": 30} return WebBaseLoader( web_paths=urls, requests_kwargs=kwargs, requests_per_second=concurrency, raise_for_status=True, bs_get_text_kwargs={"separator": "\n", "strip": True}, show_progress=False, ) async def load_async(urls): loader = make_web_loader(urls, use_async=True) return [doc async for doc in loader.alazy_load()] </code></pre> <p>Two details from the source matter for sizing. <code>requests_per_second</code> is misnamed: the code wraps it in an <code>asyncio.Semaphore</code>, so it is a concurrency cap, not a rate. And with a bad password the async path raises <code>aiohttp.client_exceptions.ClientHttpProxyError: 407, message='Proxy Authentication Required', url=...</code> where <code>url</code> is your full proxy URL, credentials included. Scrub that before it reaches shared logs.</p> <p>The general requests-versus-aiohttp proxy mechanics, outside LangChain, are covered in <a href="https://www.sparkproxy.io/blog/using-proxies-python-requests-aiohttp-async-scraping">using proxies with Python requests and aiohttp</a>.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="recursiveurlloader-and-sitemaploader" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#recursiveurlloader-and-sitemaploader" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> RecursiveUrlLoader and SitemapLoader</h2><!----><div class="blog-content"><p>RecursiveUrlLoader has a <code>proxies=</code> argument and, on its default synchronous path, passes it per call to <code>requests.get(..., proxies=self.proxies)</code>. That worked in our test and beat the environment, because it is per-request.</p> <p>Set <code>use_async=True</code> and it changes completely. The async branch builds its own <code>aiohttp.ClientSession</code> with no <code>trust_env</code> and no proxy argument at all, so both <code>proxies=</code> and <code>HTTPS_PROXY</code> are ignored. With an unreachable target and a proxy configured, our async run returned an empty list with no exception, because <code>continue_on_failure</code> defaults to <code>True</code>. There is no flag to fix this in 0.4.2. Stay on the sync path, or subclass and override <code>_async_get_child_links_recursive</code>.</p> <pre><code class="language-python">import os from langchain_community.document_loaders import RecursiveUrlLoader PROXY = "http://{}:{}@gateway.sparkproxy.io:11002".format( os.environ["SPARK_USER"], os.environ["SPARK_PASS"] ) loader = RecursiveUrlLoader( "https://www.sparkproxy.io/docs/", max_depth=2, use_async=False, # the async branch ignores proxies entirely proxies={"http": PROXY, "https": PROXY}, check_response_status=True, # skip 4xx/5xx pages instead of indexing them timeout=30, prevent_outside=True, ) docs = loader.load() </code></pre> <p>This example uses port 11002, Sticky Sessions, on purpose: a recursive crawl of one site benefits from one exit holding for the length of the session window, since some sites set a cookie on the first page and challenge requests that arrive from a new IP without it. Also note <code>check_response_status</code> defaults to <code>False</code>, so without it every 404 and 403 page in the crawl becomes a document.</p> <p>SitemapLoader is the awkward one. It subclasses WebBaseLoader, but it uses both HTTP stacks inside a single <code>load()</code> call: the sitemap XML comes through the requests path (<code>_scrape</code>), and the pages it lists come through <code>scrape_all()</code>, which is the aiohttp path. So no <code>requests_kwargs</code> value works. We tested each:</p> <ul> <li><code>requests_kwargs={"proxies": ...}</code> fetched the sitemap through the proxy, then failed on the pages with the <code>'proxies'</code> TypeError.</li> <li><code>requests_kwargs={"proxy": ...}</code> failed on the sitemap with the <code>'proxy'</code> TypeError.</li> <li><code>HTTP_PROXY</code> set, default <code>trust_env=False</code>: sitemap proxied, pages direct.</li> <li><code>HTTP_PROXY</code> set plus <code>trust_env=True</code>: sitemap and every page proxied.</li> </ul> <p>Environment variables plus <code>trust_env=True</code> is the only configuration that routes the whole job without a subclass (it also needs <code>pip install lxml</code>):</p> <pre><code class="language-python">import os os.environ["HTTP_PROXY"] = os.environ["HTTPS_PROXY"] = "http://{}:{}@gateway.sparkproxy.io:11000".format( os.environ["SPARK_USER"], os.environ["SPARK_PASS"] ) os.environ["NO_PROXY"] = "localhost,127.0.0.1" # add your embedding and vector DB hosts here from langchain_community.document_loaders.sitemap import SitemapLoader loader = SitemapLoader( "https://www.sparkproxy.io/sitemap.xml", trust_env=True, # lets aiohttp read HTTP_PROXY / HTTPS_PROXY requests_per_second=4, # a concurrency cap, despite the name continue_on_failure=True, show_progress=False, ) docs = loader.load() </code></pre> <p>The catch with environment variables is scope. Everything in the process that honours them, including the HTTP client your embedding provider's SDK uses, now goes through the proxy too. List those hostnames in <code>NO_PROXY</code> so you aren't paying proxy threads for embedding calls.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="playwrighturlloaders-proxy-argument" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#playwrighturlloaders-proxy-argument" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> PlaywrightURLLoader's proxy argument</h2><!----><div class="blog-content"><p>PlaywrightURLLoader is the one web loader with a first-class browser proxy setting. Its <code>proxy</code> dict goes straight to <code>chromium.launch(proxy=...)</code>, which matches Playwright's documented global proxy shape of <code>server</code>, <code>username</code> and <code>password</code>. Playwright's network docs note that credentials are for HTTP(S) proxies, so use port 11000 or 11002 here rather than the SOCKS5 port.</p> <pre><code class="language-python">import os from langchain_community.document_loaders import PlaywrightURLLoader urls = [ "https://www.sparkproxy.io/pricing", "https://www.sparkproxy.io/docs/scraping-api/", ] loader = PlaywrightURLLoader( urls=urls, proxy={ "server": "http://gateway.sparkproxy.io:11000", "username": os.environ["SPARK_USER"], "password": os.environ["SPARK_PASS"], }, remove_selectors=["header", "footer", "nav"], wait_until="networkidle", timeout=45000, continue_on_failure=False, # default True drops failed URLs silently ) docs = loader.load() assert len(docs) == len(urls), "some URLs failed; check the log" </code></pre> <p>Three behaviours to know. The default evaluator parses HTML with <code>unstructured</code>, so <code>pip install unstructured</code> is required. All URLs share one browser and one context, so on the Sticky Sessions port the whole list goes out from one exit until the window rolls over. And with the default <code>continue_on_failure=True</code>, a failed navigation is logged as <code>Error fetching or processing <url>, exception: ...</code> and the URL is simply skipped, which is why the document count check matters more than any setting. Broader Playwright proxy patterns, such as per-context proxies, are in our guide to <a href="https://www.sparkproxy.io/blog/web-scraping-with-playwright-and-proxies">web scraping with Playwright and proxies</a>.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="asyncchromiumloader-has-no-proxy-option" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#asyncchromiumloader-has-no-proxy-option" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> AsyncChromiumLoader has no proxy option</h2><!----><div class="blog-content"><p>AsyncChromiumLoader takes <code>urls</code>, <code>headless</code> and <code>user_agent</code>. That's all. It calls <code>p.chromium.launch(headless=self.headless)</code> with no proxy, and we confirmed it doesn't pick one up from the environment either: with <code>HTTP_PROXY</code> and <code>HTTPS_PROXY</code> both set, the browser connected directly and returned the navigation error as the document text. (Our environment couldn't download Playwright's headless shell, so this test ran headed Chromium; the launch call is the same either way.)</p> <p>The fix is a small subclass that keeps the loader's interface:</p> <pre><code class="language-python">import asyncio import os from langchain_community.document_loaders import AsyncChromiumLoader from langchain_community.document_transformers import Html2TextTransformer class ProxiedChromiumLoader(AsyncChromiumLoader): """AsyncChromiumLoader with a Playwright proxy and a cap on parallel browsers.""" def __init__(self, urls, *, proxy, max_browsers=4, **kwargs): super().__init__(urls, **kwargs) self.proxy = proxy self._sem = asyncio.Semaphore(max_browsers) async def ascrape_playwright(self, url: str) -> str: from playwright.async_api import async_playwright async with self._sem, async_playwright() as p: browser = await p.chromium.launch(headless=self.headless, proxy=self.proxy) try: page = await browser.new_page(user_agent=self.user_agent) response = await page.goto(url, wait_until="networkidle", timeout=45000) if response is None or response.status >= 400: status = response.status if response else "no response" raise RuntimeError(f"{url} returned {status}") return await page.content() finally: await browser.close() loader = ProxiedChromiumLoader( ["https://www.sparkproxy.io/blog"], proxy={ "server": "http://gateway.sparkproxy.io:11000", "username": os.environ["SPARK_USER"], "password": os.environ["SPARK_PASS"], }, ) html_docs = loader.load() text_docs = Html2TextTransformer().transform_documents(html_docs) </code></pre> <p>Two changes beyond the proxy. The subclass raises instead of returning <code>"Error: ..."</code> as content, so failures surface. And the semaphore exists because the stock <code>alazy_load()</code> runs <code>asyncio.gather</code> over every URL at once, launching one Chromium process per URL. Hand it 300 URLs and you start 300 browsers. Note that <code>load()</code> (sync) goes through <code>lazy_load()</code>, which scrapes one URL at a time, so the cap only matters on the async path. With the proxy subclass, the same local test proxy logged the browser's requests and the document contained the proxied page.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="swapping-in-the-scraping-api-for-js-heavy-pages" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#swapping-in-the-scraping-api-for-js-heavy-pages" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> Swapping in the Scraping API for JS-heavy pages</h2><!----><div class="blog-content"><p>Running Chromium yourself is the expensive end of ingestion: memory per browser, challenge pages, and the subclass above to maintain on a sunset package. For the subset of URLs that need rendering or keep returning challenges, a custom loader that calls the SparkProxy Scraping API is simpler. The API renders the page, picks the exit, and can return Markdown directly, so you skip the HTML-to-text step.</p> <p>Facts from the Scraping API docs, read 31 October 2026: base URL <code>https://scrape.sparkproxy.io/api/v1</code>, key in the <code>X-API-Key</code> header. <code>render_js</code> defaults to <code>true</code> and costs 5 credits; <code>render_js=false</code> is a plain fetch at 1 credit. <code>country_code</code> adds 5. <code>format</code> only converts content (<code>html</code>, <code>md</code>, <code>mdx</code>, <code>json</code>, <code>screenshot</code>, <code>pdf</code>). The envelope with <code>job_id</code>, <code>status_code</code>, <code>duration_ms</code>, <code>credits_used</code> and <code>body</code> comes from <code>json_response=true</code>, and <strong><code>body</code> is base64</strong>, so decode it before checking anything. A 530 means the scrape failed (timeout, block or CAPTCHA) and credits are refunded.</p> <pre><code class="language-python">import base64 import os from typing import Iterator, Optional import requests from langchain_core.document_loaders import BaseLoader from langchain_core.documents import Document API = "https://scrape.sparkproxy.io/api/v1" class SparkScrapeLoader(BaseLoader): """Load pages as Markdown through the SparkProxy Scraping API.""" def __init__(self, urls, *, render_js: bool = True, country_code: Optional[str] = None, wait_for: Optional[str] = None): self.urls = list(urls) self.params = { "render_js": str(render_js).lower(), "format": "md", "json_response": "true", } if country_code: self.params["country_code"] = country_code if wait_for and render_js: self.params["wait_for"] = wait_for self.http = requests.Session() self.http.headers["X-API-Key"] = os.environ["SPARK_API_KEY"] def lazy_load(self) -> Iterator[Document]: for url in self.urls: r = self.http.get(API, params={**self.params, "url": url}, timeout=200) if r.status_code == 530: print(f"skip {url}: scrape failed upstream, credits refunded") continue r.raise_for_status() env = r.json() text = base64.b64decode(env["body"]).decode("utf-8", errors="replace") yield Document( page_content=text, metadata={ "source": url, "status_code": env.get("status_code"), "credits_used": env.get("credits_used"), "job_id": env.get("job_id"), "fetched_via": "sparkproxy-scraping-api", }, ) </code></pre> <p>The <code>timeout=200</code> leaves room for the API's own retry ladder: its docs say the first navigation attempt times out at 90 seconds and up to 3 retries follow with longer limits. Keep <code>extract_rules</code> out of this loader; it replaces the response with an <code>extracted</code> object and shouldn't be combined with <code>json_response</code>. If your follow-on step pulls structured fields out of these pages with a model, the token arithmetic for that is worked through in <a href="https://www.sparkproxy.io/blog/llm-extraction-vs-css-selectors">LLM extraction vs CSS selectors</a>.</p> <p>We attempted one live call to verify the envelope while writing this, and the API endpoint returned an HTTP 521 at that moment, so the loader above follows the published docs rather than a captured response. Check one URL by hand before running a batch.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="gate-content-before-it-reaches-embeddings" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#gate-content-before-it-reaches-embeddings" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> Gate content before it reaches embeddings</h2><!----><div class="blog-content"><p>Whatever loader you use, put a check between loading and splitting. Embedding is the last cheap moment to catch a bad page; after that it sits in your index and gets retrieved as an answer. The gate below rejects the failure shapes from the first section and routes rejects to the Scraping API loader for a second attempt:</p> <pre><code class="language-python">import hashlib import re BLOCK_TITLES = re.compile( r"just a moment|access denied|attention required|are you a robot|captcha|403 forbidden", re.IGNORECASE, ) def gate(doc, *, min_chars: int = 800, seen: set) -> str: """Return 'ok' or a reason string. Run before splitting and embedding.""" text = doc.page_content.strip() status = doc.metadata.get("status_code") if not text: return "empty" if text.startswith("Error: "): return "loader-error" if status is not None and status >= 400: return f"status-{status}" if BLOCK_TITLES.search(doc.metadata.get("title", "")) or BLOCK_TITLES.search(text[:400]): return "challenge-page" if len(text) < min_chars: return "too-short" digest = hashlib.sha256(text.encode("utf-8")).hexdigest() if digest in seen: return "duplicate-body" seen.add(digest) return "ok" def split_by_gate(docs): seen, good, retry = set(), [], [] for doc in docs: reason = gate(doc, seen=seen) if reason == "ok": good.append(doc) else: doc.metadata["gate_reason"] = reason retry.append(doc) return good, retry </code></pre> <p>Then the pipeline is three moves: load cheaply through the proxy, gate, and send only the rejects to <code>SparkScrapeLoader(render_js=True)</code>. Gate the second pass too, and log whatever still fails instead of embedding it. Tune <code>min_chars</code> per site; a product page can be legitimately short, a docs page rarely is. The duplicate check catches the case where twenty URLs all returned the same interstitial with a 200 status. For corpus-scale deduplication and quality filtering beyond this ingestion gate, see <a href="https://www.sparkproxy.io/blog/proxies-for-ai-training-data">proxies for AI training data</a>. Our guide on <a href="https://www.sparkproxy.io/blog/how-to-detect-when-your-scraper-is-blocked">how to detect when your scraper is blocked</a> lists more marker strings worth adding to <code>BLOCK_TITLES</code>.</p> <p>Store the raw loaded text with its hash and fetch time alongside the vectors. On the next scheduled refresh, re-embed only pages whose hash changed. Embedding calls usually cost more than the fetch, so this saves real money on a nightly job.</p></div><!--[--><!--]--></section><!----><!--]--><!--[--><section id="rotation-country-concurrency-and-cost" class="scroll-mt-28"><span class="mt-12 block h-1 w-10 rounded-full bg-brand" aria-hidden="true"></span><h2 class="group/h relative font-extrabold text-navy mb-4 mt-3 text-2xl md:text-[1.7rem]"><a href="#rotation-country-concurrency-and-cost" class="absolute -left-6 top-1 hidden text-brand opacity-0 transition-opacity group-hover/h:opacity-100 lg:inline" aria-hidden="true">#</a> Rotation, country, concurrency and cost</h2><!----><div class="blog-content"><p><strong>Random Rotation or Sticky Sessions.</strong> For a list of independent URLs, use Random Rotation on port 11000: each connection can leave from a different IP, which spreads load across the pool. Use Sticky Sessions on port 11002 when the loader holds state across requests, as in a recursive crawl of one site or a <code>PlaywrightURLLoader</code> run with <code>browser_session</code> storage state. The trade-offs in more depth are in <a href="https://www.sparkproxy.io/blog/what-is-a-sticky-session-proxy">what a sticky session proxy is</a>.</p> <p><strong>Country.</strong> If the content you need varies by region, target the exit country. The SparkProxy homepage shows the username pattern <code>user-country-us</code> for US exits; check your dashboard for the exact form for other countries. On the Scraping API, the equivalent is <code>country_code</code> at +5 credits per request.</p> <p><strong>Concurrency.</strong> SparkProxy plans are sold by concurrent threads with unlimited bandwidth, so the number that matters is how many connections your loaders hold open at once, not how many megabytes they pull. Prices from the SparkProxy homepage, read 31 October 2026, in US dollars excluding VAT/GST, billed every 30 days:</p> <div class="table-wrap"><table><thead><tr><th>Plan</th><th>Price</th><th>Threads</th><th>Whitelisted IPs</th></tr></thead><tbody><tr><td>Starter</td><td>$75/mo</td><td>100</td><td>5</td></tr><tr><td>Core</td><td>$140/mo</td><td>250</td><td>10</td></tr><tr><td>Boost</td><td>$240/mo</td><td>500</td><td>15</td></tr><tr><td>Plus</td><td>$440/mo</td><td>1000</td><td>25</td></tr></tbody></table></div> <p>Entry pricing is "Starting from $75/month"; 3, 6 and 12-month terms take 5%, 10% and 15% off, and there's a 24-hour free trial with no credit card. The pool is 1M+ IPs across 80+ countries, over HTTP, HTTPS or SOCKS5, with IP whitelist or user:pass auth.</p> <p>Map that onto loaders. A WebBaseLoader async run with <code>requests_per_second=8</code> holds about 8 connections. A browser page is different: it fetches scripts, styles, images and XHRs, often several at once, all through the same proxy, so four parallel Chromium pages can hold far more than four connections. Leave headroom under your thread count, and keep the <code>max_browsers</code> cap from the Chromium subclass low until you have measured what one page costs in connections.</p> <p><strong>Scraping API credits.</strong> The 1,000 free credits cover 200 rendered pages at 5 credits each, or 1,000 plain fetches with <code>render_js=false</code>. Batch mode (comma-separated URLs, <code>render_js=false</code> only) costs 1 credit for the whole batch, which suits a sitemap of static pages; per-plan credit pricing is broken down in <a href="https://www.sparkproxy.io/blog/scraping-api-credit-pricing-explained">Scraping API credit pricing explained</a>. If the ingestion feeds an agent's live browsing tool rather than a batch index, the buying criteria shift, and our guide to the <a href="https://www.sparkproxy.io/blog/best-proxies-for-ai-agents">best proxies for AI agents</a> covers that case.</p></div><!--[--><!--]--></section><!----><!--]--><!--]--><div class="mt-14"><h2 class="mb-5 text-2xl font-extrabold text-navy">Frequently asked questions</h2><div class="blog-content faq-block"><div class="faq-accordion"> <h2 class="faq-heading">FAQ</h2> <div class="faq-item open"> <button class="faq-question" aria-expanded="true">How do I set a proxy for LangChain's WebBaseLoader?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>For <code>load()</code>, pass <code>requests_kwargs={"proxies": {"http": url, "https": url}}</code>; it beats environment variables, while the <code>proxies=</code> constructor argument can be overridden by them. For <code>alazy_load()</code>, pass <code>requests_kwargs={"proxy": url}</code> or set <code>trust_env=True</code> with <code>HTTPS_PROXY</code> exported.</p> </div> </div> <div class="faq-item"> <button class="faq-question" aria-expanded="false">Why does my langchain proxy work with load() but not alazy_load()?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>The async methods use aiohttp, which ignores <code>session.proxies</code> and doesn't read proxy environment variables unless <code>trust_env=True</code>. WebBaseLoader defaults <code>trust_env</code> to <code>False</code>, so the async path connects directly.</p> </div> </div> <div class="faq-item"> <button class="faq-question" aria-expanded="false">Does AsyncChromiumLoader support a proxy?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>No. In <code>langchain-community</code> 0.4.2 it accepts only <code>urls</code>, <code>headless</code> and <code>user_agent</code>, and in our test it ignored <code>HTTPS_PROXY</code>. Subclass it and pass <code>proxy=</code> to <code>chromium.launch()</code>, or use PlaywrightURLLoader, which has a <code>proxy</code> argument.</p> </div> </div> <div class="faq-item"> <button class="faq-question" aria-expanded="false">Why are my LangChain documents empty or full of "Access Denied"?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>WebBaseLoader parses 403 pages as content unless <code>raise_for_status=True</code>, and <code>continue_on_failure=True</code> turns failed async fetches into empty strings. Check document length, status and title before embedding.</p> </div> </div> <div class="faq-item"> <button class="faq-question" aria-expanded="false">Is langchain-community still maintained?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>No. Its README says the package "has been sunset", the final release was 0.4.2 on 22 May 2026, and the last commit landed on 19 June 2026. The loaders still install and run, but proxy bugs in them won't be fixed upstream.</p> </div> </div> <div class="faq-item"> <button class="faq-question" aria-expanded="false">When should I use the Scraping API instead of a proxy in LangChain?<span class="faq-icon" aria-hidden="true"></span></button> <div class="faq-answer"> <p>Use it for pages that need JavaScript rendering or keep returning challenge pages through a plain proxy. A rendered request costs 5 credits, a plain one 1 credit, and the Markdown output can go straight into a text splitter.</p> </div> </div> </div></div></div><div class="mt-12 flex flex-col gap-6 border-t border-gray-100 pt-8"><div class="flex flex-wrap justify-center gap-2"><!--[--><a href="https://www.sparkproxy.io/blog/tag/langchain-proxy" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#langchain proxy</a><a href="https://www.sparkproxy.io/blog/tag/webbaseloader-proxy" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#webbaseloader proxy</a><a href="https://www.sparkproxy.io/blog/tag/asyncchromiumloader-proxy" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#asyncchromiumloader proxy</a><a href="https://www.sparkproxy.io/blog/tag/playwrighturlloader-proxy" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#playwrighturlloader proxy</a><a href="https://www.sparkproxy.io/blog/tag/langchain-document-loaders" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#langchain document loaders</a><a href="https://www.sparkproxy.io/blog/tag/rag-ingestion" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#rag ingestion</a><a href="https://www.sparkproxy.io/blog/tag/trust_env-aiohttp" rel="noopener noreferrer" class="rounded-full bg-gray-100 px-3 py-1 text-sm text-gray-600 transition hover:bg-brand hover:text-white">#trust_env aiohttp</a><!--]--></div><div class="flex gap-2 flex-wrap items-center justify-center"><!--[--><a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy" target="_blank" rel="noopener" aria-label="Share on Facebook" title="Facebook" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#1877F2;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M22 12a10 10 0 10-11.56 9.88v-6.99H7.9V12h2.54V9.8c0-2.5 1.49-3.89 3.78-3.89 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56V12h2.78l-.44 2.89h-2.34v6.99A10 10 0 0022 12z"></path></svg></a><a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy&text=LangChain%20Proxy%20Setup%20for%20Web%20Loaders%20That%20Load%20Junk" target="_blank" rel="noopener" aria-label="Share on X" title="X" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#111827;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></svg></a><a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy" target="_blank" rel="noopener" aria-label="Share on LinkedIn" title="LinkedIn" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#0A66C2;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"></path></svg></a><a href="https://api.whatsapp.com/send?text=LangChain%20Proxy%20Setup%20for%20Web%20Loaders%20That%20Load%20Junk%20https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy" target="_blank" rel="noopener" aria-label="Share on WhatsApp" title="WhatsApp" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#25D366;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.44-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.22 3.08.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.17-1.42-.07-.12-.27-.19-.57-.34zM12.05 21.8h-.01a9.87 9.87 0 01-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37a9.86 9.86 0 01-1.51-5.26C2.16 6.5 6.6 2.06 12.05 2.06c2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 012.89 6.99c0 5.45-4.44 9.88-9.88 9.88zm8.41-18.3A11.82 11.82 0 0012.05.11C5.5.11.16 5.45.16 12.01c0 2.1.55 4.14 1.59 5.95L.06 24l6.31-1.65a11.88 11.88 0 005.68 1.45h.01c6.55 0 11.89-5.34 11.89-11.89 0-3.18-1.24-6.17-3.49-8.41z"></path></svg></a><a href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy&description=LangChain%20Proxy%20Setup%20for%20Web%20Loaders%20That%20Load%20Junk" target="_blank" rel="noopener" aria-label="Share on Pinterest" title="Pinterest" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#E60023;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12.02 0C5.4 0 .03 5.37.03 11.99c0 5.08 3.16 9.42 7.62 11.16-.1-.95-.2-2.4.04-3.44.22-.94 1.4-5.96 1.4-5.96s-.36-.72-.36-1.78c0-1.66.97-2.91 2.17-2.91 1.02 0 1.52.77 1.52 1.69 0 1.03-.65 2.57-.99 3.99-.28 1.19.6 2.16 1.77 2.16 2.13 0 3.77-2.24 3.77-5.49 0-2.86-2.06-4.87-5-4.87-3.41 0-5.41 2.56-5.41 5.2 0 1.03.4 2.14.89 2.74.1.12.11.22.08.34-.09.37-.29 1.2-.33 1.36-.05.22-.17.27-.4.16-1.5-.69-2.43-2.88-2.43-4.64 0-3.78 2.75-7.25 7.92-7.25 4.16 0 7.39 2.97 7.39 6.92 0 4.14-2.6 7.47-6.23 7.47-1.21 0-2.35-.63-2.75-1.38l-.75 2.85c-.27 1.04-1 2.35-1.5 3.15 1.12.34 2.3.53 3.55.53 6.6 0 11.98-5.37 11.98-11.99C24 5.37 18.63 0 12.02 0z"></path></svg></a><a href="https://t.me/share/url?url=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy&text=LangChain%20Proxy%20Setup%20for%20Web%20Loaders%20That%20Load%20Junk" target="_blank" rel="noopener" aria-label="Share on Telegram" title="Telegram" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#26A5E4;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M11.94 0A12 12 0 000 12a12 12 0 0012 12 12 12 0 0012-12A12 12 0 0012 0a12 12 0 00-.06 0zm4.96 7.22c.1 0 .32.02.47.14a.5.5 0 01.17.33c.02.09.04.3.02.47-.18 1.9-.96 6.5-1.36 8.63-.17.9-.5 1.2-.82 1.23-.7.06-1.23-.46-1.9-.9-1.06-.7-1.65-1.13-2.68-1.8-1.18-.79-.42-1.22.26-1.92.18-.18 3.25-2.98 3.31-3.23.01-.03.01-.15-.06-.21-.07-.06-.17-.04-.25-.02-.1.02-1.79 1.14-5.06 3.34-.48.33-.91.5-1.3.48-.43 0-1.25-.24-1.86-.44-.75-.24-1.35-.37-1.3-.79.03-.21.33-.43.9-.66 3.5-1.52 5.83-2.53 7-3.01 3.33-1.39 4.02-1.63 4.47-1.63z"></path></svg></a><a href="https://www.reddit.com/submit?url=https%3A%2F%2Fwww.sparkproxy.io%2Fblog%2Flangchain-web-loader-proxy&title=LangChain%20Proxy%20Setup%20for%20Web%20Loaders%20That%20Load%20Junk" target="_blank" rel="noopener" aria-label="Share on Reddit" title="Reddit" class="inline-flex h-9 w-9 items-center justify-center rounded-full text-white shadow-sm transition-transform hover:scale-110" style="background-color:#FF4500;"><svg class="h-[18px] w-[18px]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M24 11.78c0-1.46-1.19-2.65-2.66-2.65-.71 0-1.36.29-1.84.75-1.81-1.19-4.26-1.95-6.97-2.05l1.48-4.67 4.02.94v.06c0 1.19.97 2.16 2.17 2.16s2.17-.97 2.17-2.16-.98-2.17-2.17-2.17c-.92 0-1.7.58-2.02 1.38l-4.33-1.01a.38.38 0 00-.44.24L11.98 6.6c-2.76.07-5.26.83-7.09 2.04-.47-.46-1.12-.75-1.84-.75C1.19 7.89 0 8.08 0 11.78c0 .96.52 1.8 1.29 2.26-.04.22-.06.44-.06.67 0 3.49 4.08 6.32 9.11 6.32s9.11-2.83 9.11-6.32c0-.22-.02-.44-.06-.66.78-.46 1.3-1.29 1.3-2.27zm-17.32 1.77c0-.83.68-1.51 1.51-1.51.83 0 1.51.68 1.51 1.51 0 .83-.68 1.51-1.51 1.51-.84 0-1.51-.68-1.51-1.51zm8.15 4.31c-1.02 1.02-2.96 1.1-3.53 1.1-.57 0-2.51-.08-3.53-1.1a.38.38 0 010-.53.38.38 0 01.53 0c.65.65 2.01.87 3 .87s2.36-.23 3-.87a.37.37 0 01.53 0 .37.37 0 010 .53zm-.31-2.8c-.84 0-1.51-.68-1.51-1.51 0-.83.68-1.51 1.51-1.51.83 0 1.51.68 1.51 1.51 0 .83-.68 1.51-1.51 1.51z"></path></svg></a><!--]--><button type="button" aria-label="Copy link" title="Copy link" class="inline-flex h-9 w-9 items-center justify-center rounded-full bg-gray-100 text-gray-500 transition hover:bg-navy hover:text-white"><svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"></path></svg></button></div></div><div class="relative overflow-hidden rounded-2xl bg-gradient-to-br from-[#e11d3a] via-brand to-[#8f1428] p-7 text-white shadow-xl shadow-brand/30 ring-1 ring-white/10 sm:p-9 mt-16" data-v-5ff897cc><div class="pointer-events-none absolute -right-16 -top-20 h-64 w-64 rounded-full bg-white/12 blur-3xl" aria-hidden="true" data-v-5ff897cc></div><div class="pointer-events-none absolute -bottom-24 left-8 h-52 w-52 rounded-full bg-black/20 blur-3xl" aria-hidden="true" data-v-5ff897cc></div><span class="promo-shine pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-transparent via-white/25 to-transparent" aria-hidden="true" data-v-5ff897cc></span><div class="relative flex flex-col gap-6 sm:flex-row sm:items-center sm:justify-between" data-v-5ff897cc><div data-v-5ff897cc><span class="mb-3 inline-flex items-center gap-1.5 rounded-full bg-white/15 px-3 py-1 text-xs font-extrabold uppercase tracking-widest ring-1 ring-white/25" data-v-5ff897cc><svg class="h-3.5 w-3.5" viewBox="0 0 384 512" fill="currentColor" aria-hidden="true" data-v-5ff897cc><path d="M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.6-25.9 13.6h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z" data-v-5ff897cc></path></svg> Special Discount · 20% off</span><p class="text-2xl font-extrabold leading-tight sm:text-[1.9rem]" data-v-5ff897cc>Get 20% off your first month</p><p class="mt-2 max-w-xl text-white/85" data-v-5ff897cc>Premium datacentre proxies with unlimited bandwidth. Use the code at checkout.</p><p class="mt-2 text-xs font-semibold uppercase tracking-wide text-white/60" data-v-5ff897cc>Save up to 15% more on quarterly, half-yearly and yearly plans</p></div><div class="flex shrink-0 items-center gap-4" data-v-5ff897cc><div class="hidden rounded-xl border border-dashed border-white/45 bg-white/10 px-5 py-2.5 text-center sm:block" data-v-5ff897cc><span class="block text-[10px] font-bold uppercase tracking-widest text-white/70" data-v-5ff897cc>Code</span><span class="text-xl font-extrabold tracking-[0.22em]" data-v-5ff897cc>SPARK20</span></div><a href="/#pricing" class="group inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl bg-white px-7 py-3.5 text-sm font-extrabold text-brand shadow-lg transition hover:-translate-y-0.5 hover:shadow-xl" data-v-5ff897cc>Claim Discount <svg class="h-4 w-4 transition-transform group-hover:translate-x-1" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true" data-v-5ff897cc><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6" data-v-5ff897cc></path></svg></a></div></div></div><div class="mt-12"><div id="about-the-author" class="scroll-mt-28 rounded-2xl bg-navy p-7 text-white shadow-lg shadow-navy/25 sm:p-8"><h2 class="mb-3 flex items-center gap-2.5 text-xl font-extrabold text-white"><span class="inline-block h-5 w-1 rounded-full bg-brand"></span> About the Author</h2><div class="blog-content author-bio"><p>The SparkProxy Technical Team builds and runs SparkProxy's datacenter proxy network (1M+ premium IPs across 80+ countries, HTTP/HTTPS/SOCKS5, IP whitelist and user:pass auth) and the SparkProxy Scraping API. The loader behaviour in this post was reproduced against <code>langchain-community</code> 0.4.2 source and a logging test proxy on 31 October 2026. Questions or corrections: support@sparkproxy.io.</p></div></div></div></div><aside class="hidden lg:block"><div class="sidebar-scroll sticky top-24 max-h-[calc(100vh-7rem)] overflow-y-auto overscroll-contain pr-1"><nav aria-label="On this page" class="rounded-2xl bg-brand p-6 text-white shadow-lg shadow-brand/25 mb-6"><p class="mb-4 flex items-center gap-2.5 border-b border-white/20 pb-3 text-sm font-extrabold uppercase tracking-widest"><svg class="h-4 w-4 shrink-0" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true"><path d="M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"></path></svg> On this page </p><ul class="space-y-0.5 border-l border-white/25"><!--[--><li><a href="#what-a-bad-load-looks-like" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">What a bad load looks like</a></li><li><a href="#diagnosis-order-cheapest-check-first" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">Diagnosis order, cheapest check first</a></li><li><a href="#versions-tested-and-the-langchain-community-sunset" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">Versions tested, and the langchain-community sunset</a></li><li><a href="#webbaseloader-proxies-requests_kwargs-and-the-env-var-trap" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">WebBaseLoader: proxies, requests_kwargs and the env-var trap</a></li><li><a href="#the-async-path-alazy_load-aiohttp-and-trust_env" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">The async path: alazy_load, aiohttp and trust_env</a></li><li><a href="#recursiveurlloader-and-sitemaploader" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">RecursiveUrlLoader and SitemapLoader</a></li><li><a href="#playwrighturlloaders-proxy-argument" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">PlaywrightURLLoader's proxy argument</a></li><li><a href="#asyncchromiumloader-has-no-proxy-option" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">AsyncChromiumLoader has no proxy option</a></li><li><a href="#swapping-in-the-scraping-api-for-js-heavy-pages" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">Swapping in the Scraping API for JS-heavy pages</a></li><li><a href="#gate-content-before-it-reaches-embeddings" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">Gate content before it reaches embeddings</a></li><li><a href="#rotation-country-concurrency-and-cost" class="pl-3 text-sm font-semibold border-transparent text-white/65 hover:text-white -ml-px block border-l-2 py-1 leading-snug transition-colors">Rotation, country, concurrency and cost</a></li><!--]--></ul></nav><div class="relative overflow-hidden rounded-2xl bg-gradient-to-br from-[#e11d3a] via-brand to-[#8f1428] p-5 text-white shadow-xl shadow-brand/30 ring-1 ring-white/10 mb-6" data-v-5ff897cc><div class="pointer-events-none absolute -right-10 -top-12 h-32 w-32 rounded-full bg-white/15 blur-2xl" aria-hidden="true" data-v-5ff897cc></div><span class="promo-shine pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-transparent via-white/25 to-transparent" aria-hidden="true" data-v-5ff897cc></span><div class="relative" data-v-5ff897cc><span class="mb-2.5 inline-flex items-center gap-1.5 rounded-full bg-white/15 px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-widest ring-1 ring-white/25" data-v-5ff897cc><svg class="h-3 w-3" viewBox="0 0 384 512" fill="currentColor" aria-hidden="true" data-v-5ff897cc><path d="M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.6-25.9 13.6h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z" data-v-5ff897cc></path></svg> Free trial</span><p class="text-lg font-extrabold leading-snug" data-v-5ff897cc>Try Datacentre proxies</p><p class="mt-1.5 text-sm leading-relaxed text-white/85" data-v-5ff897cc>250 threads, zero cost, instant access.</p><!----><a href="/#pricing" class="group mt-4 flex items-center justify-center gap-2 rounded-lg bg-white px-4 py-2.5 text-sm font-extrabold text-brand shadow-md transition hover:-translate-y-0.5 hover:shadow-lg" data-v-5ff897cc>Start Free Trial <svg class="h-4 w-4 transition-transform group-hover:translate-x-1" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true" data-v-5ff897cc><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6" data-v-5ff897cc></path></svg></a><!----></div></div><div class="columns-1 gap-8 md:columns-2 lg:columns-1 [&>section]:mb-8 [&>section]:break-inside-avoid [&>section:last-child]:mb-0"><section><h3 class="mb-4 flex items-center gap-2 border-b border-gray-100 pb-2 text-xs font-extrabold uppercase tracking-widest text-navy"><span class="inline-block h-4 w-1 rounded-full bg-brand"></span> Popular Posts </h3><ul class="space-y-4"><!--[--><li><a href="https://www.sparkproxy.io/blog/top-12-antidetect-browsers-best-tools-for-privacy-multi-account-management" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202609/image_140x98_6a966a19c6b8c.webp" alt="Best Antidetect Browsers: Top 12 Compared (Nov 2026)" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">Best Antidetect Browsers: Top 12 Compared (Nov 2026)</h4><time class="text-xs text-gray-400" datetime="2026-05-17T22:53:20+05:30">May 17, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/proxy-ports-explained-80-443-8080-and-more" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202606/image_140x98_6a37d92fd9edc.webp" alt="Proxy Ports Explained: 80, 443, 8080 & Which to Use" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">Proxy Ports Explained: 80, 443, 8080 & Which to Use</h4><time class="text-xs text-gray-400" datetime="2026-06-21T17:56:45+05:30">Jun 21, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/how-to-scrape-yahoo-finance" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202608/image_140x98_6a796b3012561.webp" alt="How to Scrape Yahoo Finance Data (2026 Guide)" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">How to Scrape Yahoo Finance Data (2026 Guide)</h4><time class="text-xs text-gray-400" datetime="2026-08-11T11:00:02+05:30">Aug 11, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/how-to-bypass-imperva-incapsula" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202608/image_140x98_6a925ea20ee9a.webp" alt="How to Bypass Imperva (Incapsula) When Web Scraping" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">How to Bypass Imperva (Incapsula) When Web Scraping</h4><time class="text-xs text-gray-400" datetime="2026-08-01T14:00:02+05:30">Aug 1, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/undetected-chromedriver-vs-patchright-vs-camoufox" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202608/image_140x98_6a958c75ad625.webp" alt="Undetected-ChromeDriver vs Patchright vs Camoufox" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">Undetected-ChromeDriver vs Patchright vs Camoufox</h4><time class="text-xs text-gray-400" datetime="2026-09-02T16:00:01+05:30">Sep 2, 2026</time></div></a></li><!--]--></ul></section><section class="rounded-2xl bg-brand p-5 text-white shadow-lg shadow-brand/20"><h3 class="mb-4 flex items-center gap-2 border-b border-white/20 pb-2 text-xs font-extrabold uppercase tracking-widest text-white"><span class="inline-block h-4 w-1 rounded-full bg-white"></span> Follow Us </h3><div class="flex gap-3"><!--[--><a href="https://www.facebook.com/sparkproxy.io" target="_blank" rel="noopener noreferrer" aria-label="Facebook" title="Facebook" class="flex h-10 w-10 items-center justify-center rounded-lg bg-white text-navy shadow-sm transition-colors hover:bg-navy hover:text-white"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"></path></svg></a><a href="https://www.instagram.com/sparkproxy.io/" target="_blank" rel="noopener noreferrer" aria-label="Instagram" title="Instagram" class="flex h-10 w-10 items-center justify-center rounded-lg bg-white text-navy shadow-sm transition-colors hover:bg-navy hover:text-white"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.012-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163C8.741 0 8.332.014 7.052.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"></path></svg></a><a href="https://www.linkedin.com/company/sparkproxy/" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" title="LinkedIn" class="flex h-10 w-10 items-center justify-center rounded-lg bg-white text-navy shadow-sm transition-colors hover:bg-navy hover:text-white"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z"></path></svg></a><!--]--></div></section><section><h3 class="mb-4 flex items-center gap-2 border-b border-gray-100 pb-2 text-xs font-extrabold uppercase tracking-widest text-navy"><span class="inline-block h-4 w-1 rounded-full bg-brand"></span> Recommended </h3><ul class="space-y-4"><!--[--><li><a href="https://www.sparkproxy.io/blog/how-to-bypass-kasada" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202608/image_140x98_6a925ea719974.webp" alt="How to Bypass Kasada When Web Scraping" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">How to Bypass Kasada When Web Scraping</h4><time class="text-xs text-gray-400" datetime="2026-07-30T14:00:01+05:30">Jul 30, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/how-to-bypass-perimeterx" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202608/image_140x98_6a925eabbad1b.webp" alt="How to Bypass PerimeterX (HUMAN Security) When Scraping" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">How to Bypass PerimeterX (HUMAN Security) When Scraping</h4><time class="text-xs text-gray-400" datetime="2026-07-28T14:00:02+05:30">Jul 28, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/guide-to-proxy-dns-leak-testing-and-mitigation" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202605/image_140x98_6a157b4a65ae7.webp" alt="Guide to Proxy DNS Leak Testing and Mitigation" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">Guide to Proxy DNS Leak Testing and Mitigation</h4><time class="text-xs text-gray-400" datetime="2026-05-26T16:22:24+05:30">May 26, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/comparison-of-residential-vs-datacenter-vs-mobile-proxy-types" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202605/image_140x98_69fc216bebd4e.webp" alt="Residential vs Datacenter vs Mobile Proxy Comparison (2026)" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">Residential vs Datacenter vs Mobile Proxy Comparison (2026)</h4><time class="text-xs text-gray-400" datetime="2026-05-07T10:57:00+05:30">May 7, 2026</time></div></a></li><li><a href="https://www.sparkproxy.io/blog/serpapi-alternatives" rel="noopener noreferrer" class="group flex gap-3"><div class="h-14 w-16 shrink-0 overflow-hidden rounded-lg bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202611/image_140x98_6b044d29bdf1b.webp" alt="SerpApi Alternatives: 7 SERP APIs Compared on Cost" width="64" height="56" loading="lazy" decoding="async" class="h-full w-full object-cover"></div><div class="min-w-0"><h4 class="line-clamp-2 text-sm font-bold leading-snug text-navy transition-colors group-hover:text-brand">SerpApi Alternatives: 7 SERP APIs Compared on Cost</h4><time class="text-xs text-gray-400" datetime="2026-11-28T09:00:03+05:30">Nov 28, 2026</time></div></a></li><!--]--></ul></section><section class="rounded-2xl bg-brand p-5 text-white shadow-lg shadow-brand/20"><h3 class="mb-4 flex items-center gap-2 border-b border-white/20 pb-2 text-xs font-extrabold uppercase tracking-widest text-white"><span class="inline-block h-4 w-1 rounded-full bg-white"></span> Popular Tags </h3><div class="flex flex-wrap gap-2"><!--[--><a href="https://www.sparkproxy.io/blog/tag/web-scraping" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#web scraping</a><a href="https://www.sparkproxy.io/blog/tag/datacenter-proxies" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#datacenter proxies</a><a href="https://www.sparkproxy.io/blog/tag/residential-proxies" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#residential proxies</a><a href="https://www.sparkproxy.io/blog/tag/antidetect-browser" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#antidetect browser</a><a href="https://www.sparkproxy.io/blog/tag/scraping-api" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#scraping api</a><a href="https://www.sparkproxy.io/blog/tag/multi-account-management" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#multi-account management</a><a href="https://www.sparkproxy.io/blog/tag/web-scraping-api" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#web scraping api</a><a href="https://www.sparkproxy.io/blog/tag/proxy-comparison" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#proxy comparison</a><a href="https://www.sparkproxy.io/blog/tag/sticky-sessions" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#sticky sessions</a><a href="https://www.sparkproxy.io/blog/tag/browser-fingerprinting" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#browser fingerprinting</a><a href="https://www.sparkproxy.io/blog/tag/proxy-pricing" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#proxy pricing</a><a href="https://www.sparkproxy.io/blog/tag/proxy-buying-guide" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#proxy buying guide</a><a href="https://www.sparkproxy.io/blog/tag/kameleo" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#kameleo</a><a href="https://www.sparkproxy.io/blog/tag/dolphin-anty" rel="noopener noreferrer" class="rounded-full bg-white/15 px-3 py-1 text-xs text-white transition hover:bg-white hover:text-brand">#dolphin anty</a><!--]--></div></section></div></div></aside></div></div><section class="section border-t border-gray-100 bg-gray-50"><div class="mx-auto max-w-[1440px] px-4 sm:px-6 md:px-8 lg:px-12"><div class="mb-10 text-center"><span class="mb-3 inline-block rounded-full bg-brand-light px-3 py-1 text-xs font-bold uppercase tracking-widest text-brand">Keep reading</span><h2 class="text-2xl font-bold text-navy md:text-3xl">Related articles</h2></div><div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3"><!--[--><article class="group flex flex-col overflow-hidden rounded-2xl border border-gray-200 bg-white transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md"><a href="https://www.sparkproxy.io/blog/bulk-check-google-index-status" rel="noopener noreferrer" class="block aspect-[16/9] overflow-hidden bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202611/image_870x_6aff04a326a57.webp" alt="How to Bulk Check Google Index Status for Thousands of URLs" width="640" height="360" loading="lazy" decoding="async" class="h-full w-full object-cover"></a><div class="flex flex-1 flex-col p-5"><h3 class="mb-2 line-clamp-2 min-h-[3.25rem] text-lg font-bold leading-snug text-navy"><a href="https://www.sparkproxy.io/blog/bulk-check-google-index-status" rel="noopener noreferrer" class="transition-colors group-hover:text-brand">How to Bulk Check Google Index Status for Thousands of URLs</a></h3><p class="mb-4 line-clamp-2 min-h-[2.5rem] text-sm leading-relaxed text-gray-500">Bulk check Google index status past the 2,000-a-day URL Inspection API quota: impressions first, inspections next, proxied site: checks, and a reasons report.</p><div class="mt-auto flex flex-wrap items-center gap-2 text-xs text-gray-400"><span class="font-semibold text-gray-500">SparkProxy</span><span>·</span><time datetime="2026-11-25T13:00:03+05:30">Nov 25, 2026</time><span class="ml-auto rounded-full px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white" style="background-color:#c51e39;">Use Cases</span></div></div></article><article class="group flex flex-col overflow-hidden rounded-2xl border border-gray-200 bg-white transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md"><a href="https://www.sparkproxy.io/blog/cloud-run-static-ip-proxy-whitelist" rel="noopener noreferrer" class="block aspect-[16/9] overflow-hidden bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202611/image_870x_6aff0487bfcf3.webp" alt="Cloud Run Static Outbound IP for Proxy Whitelisting" width="640" height="360" loading="lazy" decoding="async" class="h-full w-full object-cover"></a><div class="flex flex-1 flex-col p-5"><h3 class="mb-2 line-clamp-2 min-h-[3.25rem] text-lg font-bold leading-snug text-navy"><a href="https://www.sparkproxy.io/blog/cloud-run-static-ip-proxy-whitelist" rel="noopener noreferrer" class="transition-colors group-hover:text-brand">Cloud Run Static Outbound IP for Proxy Whitelisting</a></h3><p class="mb-4 line-clamp-2 min-h-[2.5rem] text-sm leading-relaxed text-gray-500">Set a Cloud Run static outbound IP with Cloud NAT and whitelist it on your proxy, or skip NAT with user:pass auth. Commands, egress check, NAT ports and costs.</p><div class="mt-auto flex flex-wrap items-center gap-2 text-xs text-gray-400"><span class="font-semibold text-gray-500">SparkProxy</span><span>·</span><time datetime="2026-11-24T13:00:01+05:30">Nov 24, 2026</time><span class="ml-auto rounded-full px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white" style="background-color:#c51e39;">Use Cases</span></div></div></article><article class="group flex flex-col overflow-hidden rounded-2xl border border-gray-200 bg-white transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md"><a href="https://www.sparkproxy.io/blog/reddit-keyword-monitor-alerts" rel="noopener noreferrer" class="block aspect-[16/9] overflow-hidden bg-navy/5"><img src="https://blog.cms.sparkproxy.io/uploads/images/202611/image_870x_6aff047ebc5ac.webp" alt="Reddit Keyword Alerts: Catch Buying Threads in Slack" width="640" height="360" loading="lazy" decoding="async" class="h-full w-full object-cover"></a><div class="flex flex-1 flex-col p-5"><h3 class="mb-2 line-clamp-2 min-h-[3.25rem] text-lg font-bold leading-snug text-navy"><a href="https://www.sparkproxy.io/blog/reddit-keyword-monitor-alerts" rel="noopener noreferrer" class="transition-colors group-hover:text-brand">Reddit Keyword Alerts: Catch Buying Threads in Slack</a></h3><p class="mb-4 line-clamp-2 min-h-[2.5rem] text-sm leading-relaxed text-gray-500">Build Reddit keyword alerts that watch subreddits, poll new posts and comments, flag recommendation asks and complaints, and post them to Slack within rules.</p><div class="mt-auto flex flex-wrap items-center gap-2 text-xs text-gray-400"><span class="font-semibold text-gray-500">SparkProxy</span><span>·</span><time datetime="2026-11-24T09:00:02+05:30">Nov 24, 2026</time><span class="ml-auto rounded-full px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white" style="background-color:#c51e39;">Use Cases</span></div></div></article><!--]--></div></div></section></article></div><!--]--></main><button type="button" aria-label="Back to top" class="fixed bottom-24 right-5 z-40 flex h-11 w-11 items-center justify-center rounded-full bg-brand text-white shadow-lg shadow-brand/30 transition-colors hover:bg-brand-dark focus:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 sm:h-12 sm:w-12" style="display:none;" data-v-607a4033><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" data-v-607a4033><path stroke-linecap="round" stroke-linejoin="round" d="M4.5 15.75l7.5-7.5 7.5 7.5" data-v-607a4033></path></svg></button><footer class="bg-navy text-white pt-24 pb-8"><div class="max-w-[1440px] mx-auto px-4 sm:px-6 md:px-8 lg:px-12"><div class="relative rounded-2xl overflow-hidden mb-16"><div class="absolute inset-0 bg-gradient-to-br from-brand via-[#9b1530] to-[#6b0e20]"></div><div class="absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,rgba(255,255,255,0.08),transparent_60%)]"></div><div class="absolute -top-16 -right-16 w-64 h-64 rounded-full bg-white/5 blur-2xl pointer-events-none"></div><div class="absolute -bottom-10 -left-10 w-48 h-48 rounded-full bg-white/5 blur-2xl pointer-events-none"></div><div class="relative px-8 py-12 md:px-14 md:py-14 flex flex-col md:flex-row items-center justify-between gap-10"><div class="text-center md:text-start max-w-lg"><span class="inline-block text-xs font-bold uppercase tracking-widest bg-white/15 text-white px-3 py-1 rounded-full mb-4">Access Any Network · Any Country · 24-Hour Free Trial</span><h2 class="text-3xl md:text-4xl font-extrabold leading-tight capitalize">Any site. Any country.<br class="hidden md:block"> Zero blocks.</h2></div><div class="flex flex-col items-center md:items-end gap-6 shrink-0"><div class="flex gap-6"><div class="text-center"><div class="text-2xl font-extrabold">1M+</div><div class="text-white/55 text-xs uppercase tracking-wide">Premium IPs</div></div><div class="w-px bg-white/20"></div><div class="text-center"><div class="text-2xl font-extrabold">80+</div><div class="text-white/55 text-xs uppercase tracking-wide">Countries</div></div><div class="w-px bg-white/20"></div><div class="text-center"><div class="text-2xl font-extrabold">99.9%</div><div class="text-white/55 text-xs uppercase tracking-wide">Uptime</div></div></div><div class="flex flex-col sm:flex-row gap-3"><a href="https://app.sparkproxy.io/register?utm_source=sparkproxy&utm_medium=website&utm_campaign=cta&utm_content=footer-proxy-cta" target="_blank" rel="noopener" class="inline-flex items-center justify-center gap-2 bg-white text-brand hover:bg-gray-100 font-bold px-7 py-3.5 rounded-xl transition-all shadow-lg hover:shadow-xl text-sm">Start Free Trial <svg xmlns="http://www.w3.org/2000/svg" class="rtl-flip w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"></path></svg></a><a href="/pricing/" class="inline-flex items-center justify-center gap-2 bg-white/20 hover:bg-white/30 text-white font-bold px-7 py-3.5 rounded-xl transition-all border border-white/50 text-sm">View Pricing</a></div></div></div></div><div class="mb-12 grid gap-10 lg:grid-cols-[1.3fr_3fr]"><div><a href="/" class="mb-4 inline-block"><img src="/logo_dark.webp" alt="SparkProxy" class="h-9 w-auto brightness-0 invert" width="77" height="36" loading="lazy"></a><p class="mb-4 max-w-xs text-sm leading-relaxed text-white/60">Scrape the Web with Confidence and Anonymity.</p><address class="text-xs not-italic leading-relaxed text-white/60"> 1, Chikkanna Layout, Hennur,<br> Bengaluru, 560043. India<br><a href="mailto:support@sparkproxy.io" class="text-red-300 transition-colors hover:text-red-200"> support@sparkproxy.io </a></address></div><div class="grid grid-cols-2 gap-8 md:grid-cols-4"><div><h3 class="mb-4 text-sm font-bold capitalize tracking-wider text-white">Quick Links</h3><ul class="space-y-2"><!--[--><li><a href="/free-premium-proxies/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Free Premium Proxies</a></li><li><a href="/free-vpn/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Free VPN</a></li><li><a href="/about/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">About Us</a></li><li><a href="/blog/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Blog</a></li><li><a href="/#countries" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Locations</a></li><li><a href="/pricing/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Pricing</a></li><!--]--></ul></div><div><h3 class="mb-4 text-sm font-bold capitalize tracking-wider text-white">Scraping API</h3><ul class="space-y-2"><li><a href="/scraping-api/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Overview</a></li><li><a href="/docs/scraping-api/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">API Reference</a></li><li><a href="/docs/scraping-api/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Documentation</a></li><li><a href="/docs/files/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Async Results</a></li><li><a href="/scraping-api/#pricing" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Pricing</a></li></ul></div><div><h3 class="mb-4 text-sm font-bold capitalize tracking-wider text-white">Proxies</h3><ul class="space-y-2 text-sm text-white/60"><li>USA Rotating Proxies</li><li>Worldwide Rotating Proxies</li></ul><h3 class="mt-8 mb-4 text-sm font-bold capitalize tracking-wider text-white"><a href="/free-vpn/" class="transition-colors hover:text-brand">Free VPN</a></h3><ul class="space-y-2"><!--[--><li><a href="https://downloads.sparkproxy.io/SparkProxy-Windows-x64-Setup.exe" rel="noopener" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Hybrid VPN for Windows</a></li><li><a href="https://downloads.sparkproxy.io/SparkProxy-Android.apk" rel="noopener" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Hybrid VPN for Android</a></li><li><a href="https://downloads.sparkproxy.io/SparkProxy-Linux-x86_64.AppImage" rel="noopener" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Hybrid VPN for Linux (Intel/AMD)</a></li><li><a href="https://downloads.sparkproxy.io/SparkProxy-Linux-aarch64.AppImage" rel="noopener" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Hybrid VPN for Linux (ARM64)</a></li><!--]--></ul></div><div><h3 class="mb-4 text-sm font-bold capitalize tracking-wider text-white">Legal</h3><ul class="space-y-2"><!--[--><li><a href="/terms-of-use/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Terms of Use</a></li><li><a href="/terms-of-use/#end-user-agreement" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">End User Agreement</a></li><li><a href="/terms-of-use/#app-acceptable-use" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Acceptable Usage Policy</a></li><li><a href="/privacy-policy/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Privacy Policy</a></li><li><a href="/refund-policy/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Refund Policy</a></li><li><a href="/disclaimer/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Disclaimer</a></li><li><a href="/cookie-policy/" class="text-sm text-white/60 transition-colors hover:text-brand hyphens-auto [overflow-wrap:anywhere]">Cookie Policy</a></li><!--]--></ul></div></div></div><div class="border-t border-white/10 pt-8 flex flex-col sm:flex-row items-center justify-between gap-3 text-sm text-white/60"><p>Copyright © 2026. All Rights Reserved To SparkProxy.</p><!----></div></div></footer></div><!----><!--]--></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{i18n:{baseUrl:"https://www.sparkproxy.io",defaultLocale:"en",defaultDirection:"ltr",strategy:"prefix_except_default",lazy:true,rootRedirect:"",routesNameSeparator:"___",defaultLocaleRouteNameSuffix:"default",skipSettingLocaleOnNavigate:false,differentDomains:false,trailingSlash:true,locales:[{code:"en",language:"en",name:"English",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/en.json",cache:""}]},{code:"tr",language:"tr",name:"Türkçe",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/tr.json",cache:""}]},{code:"pt",language:"pt-BR",name:"Português",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/pt.json",cache:""}]},{code:"es",language:"es",name:"Español",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/es.json",cache:""}]},{code:"ru",language:"ru",name:"Русский",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/ru.json",cache:""}]},{code:"id",language:"id",name:"Bahasa Indonesia",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/id.json",cache:""}]},{code:"vi",language:"vi",name:"Tiếng Việt",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/vi.json",cache:""}]},{code:"de",language:"de",name:"Deutsch",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/de.json",cache:""}]},{code:"fr",language:"fr",name:"Français",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/fr.json",cache:""}]},{code:"it",language:"it",name:"Italiano",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/it.json",cache:""}]},{code:"pl",language:"pl",name:"Polski",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/pl.json",cache:""}]},{code:"ja",language:"ja",name:"日本語",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/ja.json",cache:""}]},{code:"ko",language:"ko",name:"한국어",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/ko.json",cache:""}]},{code:"zh",language:"zh-CN",name:"简体中文",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/zh.json",cache:""}]},{code:"th",language:"th",name:"ไทย",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/th.json",cache:""}]},{code:"uk",language:"uk",name:"Українська",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/uk.json",cache:""}]},{code:"tw",language:"zh-TW",name:"繁體中文",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/tw.json",cache:""}]},{code:"nl",language:"nl",name:"Nederlands",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/nl.json",cache:""}]},{code:"cs",language:"cs",name:"Čeština",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/cs.json",cache:""}]},{code:"ro",language:"ro",name:"Română",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/ro.json",cache:""}]},{code:"he",language:"he",name:"עברית",dir:"rtl",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/he.json",cache:""}]},{code:"fa",language:"fa",name:"فارسی",dir:"rtl",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/fa.json",cache:""}]},{code:"ar",language:"ar",name:"العربية",dir:"rtl",files:[{path:"/var/www/vhosts/sparkproxy.io/httpdocs/i18n/locales/ar.json",cache:""}]}],detectBrowserLanguage:false,experimental:{localeDetector:"",switchLocalePathLinkSSR:false,autoImportTranslationFunctions:false,typedPages:true,typedOptionsAndMessages:false,generatedLocaleFilePathFormat:"absolute",alternateLinkCanonicalQueries:false,hmr:true},multiDomainLocales:false,domainLocales:{en:{domain:""},tr:{domain:""},pt:{domain:""},es:{domain:""},ru:{domain:""},id:{domain:""},vi:{domain:""},de:{domain:""},fr:{domain:""},it:{domain:""},pl:{domain:""},ja:{domain:""},ko:{domain:""},zh:{domain:""},th:{domain:""},uk:{domain:""},tw:{domain:""},nl:{domain:""},cs:{domain:""},ro:{domain:""},he:{domain:""},fa:{domain:""},ar:{domain:""}}}},app:{baseURL:"/",buildId:"c2e81bcb-d57f-42e3-9bff-1ff4c1fc2c4f",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script> <script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":727,"once":737,"_errors":738,"serverRendered":5,"path":740},["ShallowReactive",3],{"$fbqBN8N5zep7F4PiFFqv3Sf9JaALkRuTKapt8Gh754Qo":4,"$ftobFREwkbef1kEw4fzFEYg3CR0Z57HebcGPY6pmOlQk":220,"blog-sidebar":608},{"ok":5,"data":6},true,{"type":7,"slug":8,"post":9},"post","langchain-web-loader-proxy",{"id":10,"slug":8,"url":11,"title":12,"summary":13,"image":14,"category":20,"author":25,"post_type":29,"views":30,"published_at":31,"updated_at":32,"content_html":33,"faq_html":34,"faq":35,"keywords":54,"optional_url":55,"is_feed_post":56,"reading_time":57,"tags":58,"related":87,"type_payload":136,"seo":219},666,"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Flangchain-web-loader-proxy","LangChain Proxy Setup for Web Loaders That Load Junk","LangChain proxy setup for WebBaseLoader, PlaywrightURLLoader and AsyncChromiumLoader: why async loaders skip the proxy, and how to gate pages before embedding.",{"big":15,"default":16,"slider":17,"mid":18,"small":19,"alt":12},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x580_6aff0450015ab.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x_6aff0450a38ac.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_694x532_6aff045123da6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_430x256_6aff04518e82a.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_140x98_6aff0452016ad.webp",{"name":21,"slug":22,"color":23,"url":24},"Use Cases","use-cases","#c51e39","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fuse-cases",{"name":26,"slug":27,"url":28},"SparkProxy","sparkproxy","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fprofile\u002Fsparkproxy","table_of_contents",0,"2026-11-22T13:00:01+05:30",null,"\u003Cp>A \u003Cstrong>langchain proxy\u003C\u002Fstrong> problem rarely announces itself. The loader returns a list of \u003Ccode>Document\u003C\u002Fcode> objects, nothing raises, and the vector store fills with chunks like \u003Ccode>Access DeniedAccess Denied. Reference #18.\u003C\u002Fcode>, empty strings, or \u003Ccode>Error: Page.goto: net::ERR_NAME_NOT_RESOLVED\u003C\u002Fcode>. This post shows where each LangChain web loader actually reads its proxy setting (some ignore the one you set), how to route the JavaScript-heavy pages through the SparkProxy Scraping API instead, and how to stop bad pages before they become embeddings. Every behaviour below was reproduced on \u003Ccode>langchain-community\u003C\u002Fcode> 0.4.2 with a local test proxy on 31 October 2026.\u003C\u002Fp>","\u003Cdiv class=\"faq-accordion\">\n \u003Ch2 class=\"faq-heading\">FAQ\u003C\u002Fh2>\n \u003Cdiv class=\"faq-item open\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"true\">How do I set a proxy for LangChain's WebBaseLoader?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>For \u003Ccode>load()\u003C\u002Fcode>, pass \u003Ccode>requests_kwargs={\"proxies\": {\"http\": url, \"https\": url}}\u003C\u002Fcode>; it beats environment variables, while the \u003Ccode>proxies=\u003C\u002Fcode> constructor argument can be overridden by them. For \u003Ccode>alazy_load()\u003C\u002Fcode>, pass \u003Ccode>requests_kwargs={\"proxy\": url}\u003C\u002Fcode> or set \u003Ccode>trust_env=True\u003C\u002Fcode> with \u003Ccode>HTTPS_PROXY\u003C\u002Fcode> exported.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n \u003Cdiv class=\"faq-item\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"false\">Why does my langchain proxy work with load() but not alazy_load()?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>The async methods use aiohttp, which ignores \u003Ccode>session.proxies\u003C\u002Fcode> and doesn't read proxy environment variables unless \u003Ccode>trust_env=True\u003C\u002Fcode>. WebBaseLoader defaults \u003Ccode>trust_env\u003C\u002Fcode> to \u003Ccode>False\u003C\u002Fcode>, so the async path connects directly.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n \u003Cdiv class=\"faq-item\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"false\">Does AsyncChromiumLoader support a proxy?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>No. In \u003Ccode>langchain-community\u003C\u002Fcode> 0.4.2 it accepts only \u003Ccode>urls\u003C\u002Fcode>, \u003Ccode>headless\u003C\u002Fcode> and \u003Ccode>user_agent\u003C\u002Fcode>, and in our test it ignored \u003Ccode>HTTPS_PROXY\u003C\u002Fcode>. Subclass it and pass \u003Ccode>proxy=\u003C\u002Fcode> to \u003Ccode>chromium.launch()\u003C\u002Fcode>, or use PlaywrightURLLoader, which has a \u003Ccode>proxy\u003C\u002Fcode> argument.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n \u003Cdiv class=\"faq-item\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"false\">Why are my LangChain documents empty or full of \"Access Denied\"?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>WebBaseLoader parses 403 pages as content unless \u003Ccode>raise_for_status=True\u003C\u002Fcode>, and \u003Ccode>continue_on_failure=True\u003C\u002Fcode> turns failed async fetches into empty strings. Check document length, status and title before embedding.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n \u003Cdiv class=\"faq-item\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"false\">Is langchain-community still maintained?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>No. Its README says the package \"has been sunset\", the final release was 0.4.2 on 22 May 2026, and the last commit landed on 19 June 2026. The loaders still install and run, but proxy bugs in them won't be fixed upstream.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n \u003Cdiv class=\"faq-item\">\n \u003Cbutton class=\"faq-question\" aria-expanded=\"false\">When should I use the Scraping API instead of a proxy in LangChain?\u003Cspan class=\"faq-icon\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fbutton>\n \u003Cdiv class=\"faq-answer\">\n \u003Cp>Use it for pages that need JavaScript rendering or keep returning challenge pages through a plain proxy. A rendered request costs 5 credits, a plain one 1 credit, and the Markdown output can go straight into a text splitter.\u003C\u002Fp>\n \u003C\u002Fdiv>\n \u003C\u002Fdiv>\n\u003C\u002Fdiv>",[36,39,42,45,48,51],{"question":37,"answer":38},"How do I set a proxy for LangChain's WebBaseLoader?","For load(), pass requests_kwargs={\"proxies\": {\"http\": url, \"https\": url}}; it beats environment variables, while the proxies= constructor argument can be overridden by them. For alazy_load(), pass requests_kwargs={\"proxy\": url} or set trust_env=True with HTTPS_PROXY exported.",{"question":40,"answer":41},"Why does my langchain proxy work with load() but not alazy_load()?","The async methods use aiohttp, which ignores session.proxies and doesn't read proxy environment variables unless trust_env=True. WebBaseLoader defaults trust_env to False, so the async path connects directly.",{"question":43,"answer":44},"Does AsyncChromiumLoader support a proxy?","No. In langchain-community 0.4.2 it accepts only urls, headless and user_agent, and in our test it ignored HTTPS_PROXY. Subclass it and pass proxy= to chromium.launch(), or use PlaywrightURLLoader, which has a proxy argument.",{"question":46,"answer":47},"Why are my LangChain documents empty or full of \"Access Denied\"?","WebBaseLoader parses 403 pages as content unless raise_for_status=True, and continue_on_failure=True turns failed async fetches into empty strings. Check document length, status and title before embedding.",{"question":49,"answer":50},"Is langchain-community still maintained?","No. Its README says the package \"has been sunset\", the final release was 0.4.2 on 22 May 2026, and the last commit landed on 19 June 2026. The loaders still install and run, but proxy bugs in them won't be fixed upstream.",{"question":52,"answer":53},"When should I use the Scraping API instead of a proxy in LangChain?","Use it for pages that need JavaScript rendering or keep returning challenge pages through a plain proxy. A rendered request costs 5 credits, a plain one 1 credit, and the Markdown output can go straight into a text splitter.","langchain proxy,webbaseloader proxy,asyncchromiumloader proxy,playwrighturlloader proxy,langchain document loaders,rag ingestion,trust_env aiohttp","",false,25,[59,63,67,71,75,79,83],{"name":60,"slug":61,"url":62},"langchain proxy","langchain-proxy","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Flangchain-proxy",{"name":64,"slug":65,"url":66},"webbaseloader proxy","webbaseloader-proxy","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fwebbaseloader-proxy",{"name":68,"slug":69,"url":70},"asyncchromiumloader proxy","asyncchromiumloader-proxy","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fasyncchromiumloader-proxy",{"name":72,"slug":73,"url":74},"playwrighturlloader proxy","playwrighturlloader-proxy","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fplaywrighturlloader-proxy",{"name":76,"slug":77,"url":78},"langchain document loaders","langchain-document-loaders","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Flangchain-document-loaders",{"name":80,"slug":81,"url":82},"rag ingestion","rag-ingestion","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Frag-ingestion",{"name":84,"slug":85,"url":86},"trust_env aiohttp","trust_env-aiohttp","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Ftrust_env-aiohttp",[88,104,120],{"id":89,"slug":90,"url":91,"title":92,"summary":93,"image":94,"category":100,"author":101,"post_type":29,"views":102,"published_at":103,"updated_at":32},687,"bulk-check-google-index-status","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fbulk-check-google-index-status","How to Bulk Check Google Index Status for Thousands of URLs","Bulk check Google index status past the 2,000-a-day URL Inspection API quota: impressions first, inspections next, proxied site: checks, and a reasons report.",{"big":95,"default":96,"slider":97,"mid":98,"small":99,"alt":92},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x580_6aff04a27cfd6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x_6aff04a326a57.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_694x532_6aff04a3b4dad.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_430x256_6aff04a4408de.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_140x98_6aff04a4a8883.webp",{"name":21,"slug":22,"color":23,"url":24},{"name":26,"slug":27,"url":28},3,"2026-11-25T13:00:03+05:30",{"id":105,"slug":106,"url":107,"title":108,"summary":109,"image":110,"category":116,"author":117,"post_type":29,"views":118,"published_at":119,"updated_at":32},680,"cloud-run-static-ip-proxy-whitelist","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fcloud-run-static-ip-proxy-whitelist","Cloud Run Static Outbound IP for Proxy Whitelisting","Set a Cloud Run static outbound IP with Cloud NAT and whitelist it on your proxy, or skip NAT with user:pass auth. Commands, egress check, NAT ports and costs.",{"big":111,"default":112,"slider":113,"mid":114,"small":115,"alt":108},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x580_6aff04873456c.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x_6aff0487bfcf3.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_694x532_6aff0488487bc.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_430x256_6aff0488c67b8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_140x98_6aff04892dc5e.webp",{"name":21,"slug":22,"color":23,"url":24},{"name":26,"slug":27,"url":28},4,"2026-11-24T13:00:01+05:30",{"id":121,"slug":122,"url":123,"title":124,"summary":125,"image":126,"category":132,"author":133,"post_type":29,"views":134,"published_at":135,"updated_at":32},678,"reddit-keyword-monitor-alerts","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Freddit-keyword-monitor-alerts","Reddit Keyword Alerts: Catch Buying Threads in Slack","Build Reddit keyword alerts that watch subreddits, poll new posts and comments, flag recommendation asks and complaints, and post them to Slack within rules.",{"big":127,"default":128,"slider":129,"mid":130,"small":131,"alt":124},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x580_6aff047e1b7c2.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x_6aff047ebc5ac.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_694x532_6aff047f4788c.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_430x256_6aff047fb204e.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_140x98_6aff048017ba0.webp",{"name":21,"slug":22,"color":23,"url":24},{"name":26,"slug":27,"url":28},1,"2026-11-24T09:00:02+05:30",{"kind":29,"sections":137},[138,144,151,157,163,170,177,184,191,198,205,212],{"id":139,"title":140,"anchor":141,"content_html":142,"image":55,"image_alt":55,"item_order":134,"parent_link_num":30,"children":143},12040,"What a bad load looks like","what-a-bad-load-looks-like","\u003Cp>LangChain's web loaders are built to keep going. Most of them turn a failure into content instead of an exception, so the first sign of trouble is usually a strange answer from your RAG chain rather than a stack trace. These are the shapes we saw while testing, each reproduced on purpose against a local test server (the \"Reference #18\" text is our test page, standing in for a real CDN block page):\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>What `page_content` contains\u003C\u002Fth>\u003Cth>Which loader\u003C\u002Fth>\u003Cth>What actually happened\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>`Access DeniedAccess Denied. Reference #18.`\u003C\u002Ftd>\u003Ctd>WebBaseLoader (`raise_for_status=False`, the default)\u003C\u002Ftd>\u003Ctd>Target answered 403; the block page was parsed as the document\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>`\"\"` (empty string)\u003C\u002Ftd>\u003Ctd>WebBaseLoader async with `continue_on_failure=True`\u003C\u002Ftd>\u003Ctd>Fetch failed; the loader logged a warning and returned an empty page\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>`Error: Page.goto: net::ERR_NAME_NOT_RESOLVED at ...`\u003C\u002Ftd>\u003Ctd>AsyncChromiumLoader\u003C\u002Ftd>\u003Ctd>Navigation failed; the exception text became the document\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>A few hundred characters of nav and footer\u003C\u002Ftd>\u003Ctd>Any HTTP loader on a client-rendered site\u003C\u002Ftd>\u003Ctd>The HTML shell loaded; the content needs JavaScript\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Fewer documents than URLs\u003C\u002Ftd>\u003Ctd>PlaywrightURLLoader (`continue_on_failure=True`, the default)\u003C\u002Ftd>\u003Ctd>Failed URLs are logged and dropped, not yielded\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Notice that the run-together \u003Ccode>Access DeniedAccess Denied\u003C\u002Fcode> is itself a clue: \u003Ccode>soup.get_text()\u003C\u002Fcode> with no separator glues the \u003Ccode>\u003Ctitle>\u003C\u002Fcode> onto the body. Pass \u003Ccode>bs_get_text_kwargs={\"separator\": \"\\n\", \"strip\": True}\u003C\u002Fcode> and your documents become readable, which also makes block pages easier to spot by eye.\u003C\u002Fp>\n\u003Cp>Run this after any load before you trust it:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">from collections import Counter\n\n\ndef summarize(docs, urls):\n """Print the signals that show a silent web-loader failure."""\n print(f"{len(docs)} documents for {len(urls)} URLs")\n for doc in docs:\n text = doc.page_content\n flag = ""\n if not text.strip():\n flag = "EMPTY"\n elif text.startswith("Error: "):\n flag = "LOADER-ERROR"\n elif len(text) < 500:\n flag = "SHORT"\n print(f"{len(text):>7} {flag:<12} {doc.metadata.get('title', '')[:50]} {doc.metadata['source']}")\n titles = Counter(d.metadata.get("title", "") for d in docs)\n for title, n in titles.most_common(3):\n if n > 1 and title:\n print(f"repeated title x{n}: {title!r}")\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>A title that repeats across many unrelated URLs (\"Just a moment...\", \"Access Denied\", \"Attention Required\") is the fastest tell that you indexed a challenge page several times over.\u003C\u002Fp>",[],{"id":145,"title":146,"anchor":147,"content_html":148,"image":55,"image_alt":55,"item_order":149,"parent_link_num":30,"children":150},12041,"Diagnosis order, cheapest check first","diagnosis-order-cheapest-check-first","\u003Cp>Work down this list. Each step costs less than the one after it, and the first three need no proxy at all.\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Cstrong>Is the proxy being used at all?\u003C\u002Fstrong> Several loaders silently skip the setting you passed. Check the loader-specific sections below before anything else; it's the most common cause we found.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Do the credentials work?\u003C\u002Fstrong> Test the proxy outside Python so LangChain isn't part of the question.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>What status did the target return?\u003C\u002Fstrong> Turn on \u003Ccode>raise_for_status=True\u003C\u002Fcode> (WebBaseLoader) or \u003Ccode>check_response_status=True\u003C\u002Fcode> (RecursiveUrlLoader) for one run.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Is the content rendered client-side?\u003C\u002Fstrong> Compare \u003Ccode>curl\u003C\u002Fcode> output with what a browser shows.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Is it a bot challenge rather than an IP block?\u003C\u002Fstrong> Challenge pages often come back with 403 or 503 and a known title.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>The credential check, using SparkProxy's gateway on the Random Rotation port:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-bash\">curl -s -o \u002Fdev\u002Fnull -w "%{http_code}\\n" \\\n -x "http:\u002F\u002F$SPARK_USER:$SPARK_PASS@gateway.sparkproxy.io:11000" \\\n https:\u002F\u002Fwww.sparkproxy.io\u002F\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>A \u003Ccode>200\u003C\u002Fcode> means the proxy path is fine and the problem is inside your loader configuration. A \u003Ccode>407\u003C\u002Fcode> means the credentials are wrong or your server IP isn't on the whitelist.\u003C\u002Fp>\n\u003Cp>What a proxy can and cannot fix:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Cause\u003C\u002Fth>\u003Cth>Typical signal\u003C\u002Fth>\u003Cth>Does a proxy fix it?\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Loader not sending traffic through the proxy\u003C\u002Ftd>\u003Ctd>Same failures with and without proxy settings\u003C\u002Ftd>\u003Ctd>No. Fix the configuration first\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Target blocks your cloud or office IP range\u003C\u002Ftd>\u003Ctd>403 \u002F 429 from the target, works from home\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Geo-restricted or geo-varied content\u003C\u002Ftd>\u003Ctd>Wrong language, \"not available in your region\"\u003C\u002Ftd>\u003Ctd>Yes, with country targeting\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Content rendered by JavaScript\u003C\u002Ftd>\u003Ctd>200 with a near-empty body\u003C\u002Ftd>\u003Ctd>No. Needs a browser or `render_js`\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>JavaScript challenge or fingerprint check\u003C\u002Ftd>\u003Ctd>\"Just a moment...\" titles, 403\u002F503\u003C\u002Ftd>\u003Ctd>Rarely on its own. Needs a real browser or the Scraping API\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Login wall or paywall\u003C\u002Ftd>\u003Ctd>Login form text in every document\u003C\u002Ftd>\u003Ctd>No\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Default `DefaultLangchainUserAgent` header rejected\u003C\u002Ftd>\u003Ctd>403 that disappears with a browser UA\u003C\u002Ftd>\u003Ctd>No. Set a real user agent\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>That last row deserves its own note. If \u003Ccode>USER_AGENT\u003C\u002Fcode> isn't set, \u003Ccode>langchain_community\u003C\u002Fcode> logs \u003Ccode>USER_AGENT environment variable not set, consider setting it to identify your requests.\u003C\u002Fcode> and sends the literal string \u003Ccode>DefaultLangchainUserAgent\u003C\u002Fcode>. WebBaseLoader builds its default headers when the module is imported, so setting \u003Ccode>os.environ[\"USER_AGENT\"]\u003C\u002Fcode> after the import has no effect on it; we confirmed the header still read \u003Ccode>DefaultLangchainUserAgent\u003C\u002Fcode>. Set the variable in the shell, or before the first \u003Ccode>langchain_community\u003C\u002Fcode> import. AsyncChromiumLoader reads it at construction time instead, so it does pick up a late change.\u003C\u002Fp>",2,[],{"id":152,"title":153,"anchor":154,"content_html":155,"image":55,"image_alt":55,"item_order":102,"parent_link_num":30,"children":156},12042,"Versions tested, and the langchain-community sunset","versions-tested-and-the-langchain-community-sunset","\u003Cp>Every loader in this post lives in \u003Ccode>langchain-community\u003C\u002Fcode>, and that package has stopped moving. The repository README now says \"\u003Ccode>langchain-community\u003C\u002Fcode> has been sunset\", pointing to issue #674 (opened 22 May 2026), which states the sunset \"will take effect immediately\" and that the package had accepted no new integrations or features for over a year. The last release on PyPI is 0.4.2, uploaded 22 May 2026; the last commit, \"sunset package (#679)\", landed on 19 June 2026, and GitHub lists the repository as archived. Importing it now prints a \u003Ccode>DeprecationWarning\u003C\u002Fcode> that reads in part: \"\u003Ccode>langchain-community\u003C\u002Fcode> is being sunset and is no longer actively maintained.\"\u003C\u002Fp>\n\u003Cp>What that means in practice: the proxy quirks below will not be fixed upstream. You either work around them as shown, or copy the loader into your own code, which the sunset issue explicitly suggests is the expected path now.\u003C\u002Fp>\n\u003Cp>Tested stack, 31 October 2026:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Package\u003C\u002Fth>\u003Cth>Version\u003C\u002Fth>\u003Cth>Released\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>langchain-community\u003C\u002Ftd>\u003Ctd>0.4.2\u003C\u002Ftd>\u003Ctd>22 May 2026 (final)\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>langchain-core\u003C\u002Ftd>\u003Ctd>1.7.3\u003C\u002Ftd>\u003Ctd>29 Oct 2026\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>aiohttp\u003C\u002Ftd>\u003Ctd>3.14.5\u003C\u002Ftd>\u003Ctd>11 Oct 2026\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>requests\u003C\u002Ftd>\u003Ctd>2.34.2\u003C\u002Ftd>\u003Ctd>current on PyPI\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>playwright (Python)\u003C\u002Ftd>\u003Ctd>1.64.1\u003C\u002Ftd>\u003Ctd>22 Oct 2026\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>All tests ran on Python 3.14.2 on Windows Server 2022, against a local HTTP proxy that logged every request, so \"went through the proxy\" below means the proxy log recorded the hit.\u003C\u002Fp>",[],{"id":158,"title":159,"anchor":160,"content_html":161,"image":55,"image_alt":55,"item_order":118,"parent_link_num":30,"children":162},12043,"WebBaseLoader: proxies, requests_kwargs and the env-var trap","webbaseloader-proxies-requests_kwargs-and-the-env-var-trap","\u003Cp>WebBaseLoader has two separate HTTP stacks. \u003Ccode>load()\u003C\u002Fcode> and \u003Ccode>lazy_load()\u003C\u002Fcode> use a \u003Ccode>requests.Session\u003C\u002Fcode>. \u003Ccode>alazy_load()\u003C\u002Fcode>, the deprecated \u003Ccode>aload()\u003C\u002Fcode>, \u003Ccode>scrape_all()\u003C\u002Fcode> and \u003Ccode>fetch_all()\u003C\u002Fcode> use \u003Ccode>aiohttp\u003C\u002Fcode>. The proxy settings behave differently on each, and the obvious one is the least reliable.\u003C\u002Fp>\n\u003Cp>The constructor's \u003Ccode>proxies=\u003C\u002Fcode> argument is copied into \u003Ccode>session.proxies\u003C\u002Fcode>. The requests documentation warns that session-level proxies \"will be overwritten by environmental proxies\". We tested it: with \u003Ccode>HTTP_PROXY\u003C\u002Fcode> pointing at one local proxy and \u003Ccode>proxies=\u003C\u002Fcode> pointing at another, the request went to the environment one. On a laptop with a corporate proxy variable set, or in a container that inherits \u003Ccode>HTTPS_PROXY\u003C\u002Fcode>, \u003Ccode>proxies=\u003C\u002Fcode> is silently ignored.\u003C\u002Fp>\n\u003Cp>Per-request arguments win over the environment, and \u003Ccode>requests_kwargs\u003C\u002Fcode> is passed straight into every \u003Ccode>session.get()\u003C\u002Fcode> call. So for the synchronous path, put the proxy there:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import os\n\nos.environ.setdefault("USER_AGENT", "Mozilla\u002F5.0 (X11; Linux x86_64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F141.0 Safari\u002F537.36")\n\nfrom langchain_community.document_loaders import WebBaseLoader\n\nPROXY = "http:\u002F\u002F{}:{}@gateway.sparkproxy.io:11000".format(\n os.environ["SPARK_USER"], os.environ["SPARK_PASS"]\n)\n\nloader = WebBaseLoader(\n web_paths=[\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fdocs\u002Fscraping-api\u002F",\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fblog",\n ],\n requests_kwargs={\n "proxies": {"http": PROXY, "https": PROXY},\n "timeout": 30,\n },\n raise_for_status=True,\n bs_get_text_kwargs={"separator": "\\n", "strip": True},\n)\ndocs = loader.load()\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>\u003Ccode>raise_for_status=True\u003C\u002Fcode> turns a 403 into \u003Ccode>requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: ...\u003C\u002Fcode> instead of a document. That is what you want during setup. In a long batch you may prefer to catch it per URL, which the pipeline section shows.\u003C\u002Fp>\n\u003Cp>Two errors you'll meet here, verbatim from our runs. A wrong password or a non-whitelisted IP on an HTTPS target:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-text\">requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.sparkproxy.io', port=443): Max retries exceeded with url: \u002F (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>And a proxy host that refuses the connection shows \u003Ccode>ProxyError('Unable to connect to proxy', NewConnectionError(...Failed to establish a new connection...))\u003C\u002Fcode> instead. The first is an auth problem; the second is a host, port or firewall problem.\u003C\u002Fp>\n\u003Cp>For SOCKS5 on port 13000, requests needs \u003Ccode>pip install \"requests[socks]\"\u003C\u002Fcode>. Use the \u003Ccode>socks5h:\u002F\u002F\u003C\u002Fcode> scheme if you want DNS resolved on the proxy side, which the requests docs describe as the difference between \u003Ccode>socks5\u003C\u002Fcode> and \u003Ccode>socks5h\u003C\u002Fcode>. aiohttp has no built-in SOCKS support in its proxy docs, which is one more reason to stay on the HTTP port for LangChain work.\u003C\u002Fp>",[],{"id":164,"title":165,"anchor":166,"content_html":167,"image":55,"image_alt":55,"item_order":168,"parent_link_num":30,"children":169},12044,"The async path: alazy_load, aiohttp and trust_env","the-async-path-alazy_load-aiohttp-and-trust_env","\u003Cp>This is where most \"my proxy works in the notebook but not in the service\" reports come from. The async methods open a fresh \u003Ccode>aiohttp.ClientSession(trust_env=self.trust_env)\u003C\u002Fcode> for every URL and pass \u003Ccode>requests_kwargs\u003C\u002Fcode> into \u003Ccode>session.get()\u003C\u002Fcode>. They never read \u003Ccode>session.proxies\u003C\u002Fcode>. In our tests:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Setup\u003C\u002Fth>\u003Cth>Sync `load()`\u003C\u002Fth>\u003Cth>Async `alazy_load()`\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>`proxies={...}`\u003C\u002Ftd>\u003Ctd>Proxied (unless an env var overrides it)\u003C\u002Ftd>\u003Ctd>**Direct.** Proxy ignored\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>`requests_kwargs={\"proxies\": {...}}`\u003C\u002Ftd>\u003Ctd>Proxied, beats env vars\u003C\u002Ftd>\u003Ctd>`TypeError: ClientSession._request() got an unexpected keyword argument 'proxies'`\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>`requests_kwargs={\"proxy\": url}`\u003C\u002Ftd>\u003Ctd>`TypeError: Session.request() got an unexpected keyword argument 'proxy'`\u003C\u002Ftd>\u003Ctd>Proxied\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>`HTTPS_PROXY` env var only\u003C\u002Ftd>\u003Ctd>Proxied\u003C\u002Ftd>\u003Ctd>**Direct.** `trust_env` defaults to `False`\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Env var plus `trust_env=True`\u003C\u002Ftd>\u003Ctd>Proxied\u003C\u002Ftd>\u003Ctd>Proxied\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>aiohttp's own documentation says it plainly: \"Contrary to the \u003Ccode>requests\u003C\u002Fcode> library, it won't read environment variables by default.\" WebBaseLoader added a \u003Ccode>trust_env\u003C\u002Fcode> keyword to switch that on, but it defaults to \u003Ccode>False\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>The direct-connection failure looks like a network problem, not a proxy problem, which is why it misleads people. The loader retries three times on connection errors, logging \u003Ccode>Error fetching \u003Curl> with attempt 1\u002F3: Cannot connect to host ...\u003C\u002Fcode>, then aborts with \u003Ccode>Error fetching \u003Curl> and aborting, use continue_on_failure=True to continue loading urls after encountering an error.\u003C\u002Fcode> If you take that advice, you get the empty-string documents from the symptoms table.\u003C\u002Fp>\n\u003Cp>Because \u003Ccode>requests_kwargs\u003C\u002Fcode> is shared by both stacks, one loader object can't hold a proxy key that suits both. Either export the proxy as an environment variable and pass \u003Ccode>trust_env=True\u003C\u002Fcode> (both paths then use it; the scope caveat is in the next section), or build the loader for the path you are going to call:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import os\n\nfrom langchain_community.document_loaders import WebBaseLoader\n\nPROXY = "http:\u002F\u002F{}:{}@gateway.sparkproxy.io:11000".format(\n os.environ["SPARK_USER"], os.environ["SPARK_PASS"]\n)\n\n\ndef make_web_loader(urls, *, use_async: bool, concurrency: int = 8) -> WebBaseLoader:\n """requests wants 'proxies' (a dict); aiohttp wants 'proxy' (a URL string)."""\n if use_async:\n kwargs = {"proxy": PROXY}\n else:\n kwargs = {"proxies": {"http": PROXY, "https": PROXY}, "timeout": 30}\n return WebBaseLoader(\n web_paths=urls,\n requests_kwargs=kwargs,\n requests_per_second=concurrency,\n raise_for_status=True,\n bs_get_text_kwargs={"separator": "\\n", "strip": True},\n show_progress=False,\n )\n\n\nasync def load_async(urls):\n loader = make_web_loader(urls, use_async=True)\n return [doc async for doc in loader.alazy_load()]\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Two details from the source matter for sizing. \u003Ccode>requests_per_second\u003C\u002Fcode> is misnamed: the code wraps it in an \u003Ccode>asyncio.Semaphore\u003C\u002Fcode>, so it is a concurrency cap, not a rate. And with a bad password the async path raises \u003Ccode>aiohttp.client_exceptions.ClientHttpProxyError: 407, message='Proxy Authentication Required', url=...\u003C\u002Fcode> where \u003Ccode>url\u003C\u002Fcode> is your full proxy URL, credentials included. Scrub that before it reaches shared logs.\u003C\u002Fp>\n\u003Cp>The general requests-versus-aiohttp proxy mechanics, outside LangChain, are covered in \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fusing-proxies-python-requests-aiohttp-async-scraping\">using proxies with Python requests and aiohttp\u003C\u002Fa>.\u003C\u002Fp>",5,[],{"id":171,"title":172,"anchor":173,"content_html":174,"image":55,"image_alt":55,"item_order":175,"parent_link_num":30,"children":176},12045,"RecursiveUrlLoader and SitemapLoader","recursiveurlloader-and-sitemaploader","\u003Cp>RecursiveUrlLoader has a \u003Ccode>proxies=\u003C\u002Fcode> argument and, on its default synchronous path, passes it per call to \u003Ccode>requests.get(..., proxies=self.proxies)\u003C\u002Fcode>. That worked in our test and beat the environment, because it is per-request.\u003C\u002Fp>\n\u003Cp>Set \u003Ccode>use_async=True\u003C\u002Fcode> and it changes completely. The async branch builds its own \u003Ccode>aiohttp.ClientSession\u003C\u002Fcode> with no \u003Ccode>trust_env\u003C\u002Fcode> and no proxy argument at all, so both \u003Ccode>proxies=\u003C\u002Fcode> and \u003Ccode>HTTPS_PROXY\u003C\u002Fcode> are ignored. With an unreachable target and a proxy configured, our async run returned an empty list with no exception, because \u003Ccode>continue_on_failure\u003C\u002Fcode> defaults to \u003Ccode>True\u003C\u002Fcode>. There is no flag to fix this in 0.4.2. Stay on the sync path, or subclass and override \u003Ccode>_async_get_child_links_recursive\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import os\n\nfrom langchain_community.document_loaders import RecursiveUrlLoader\n\nPROXY = "http:\u002F\u002F{}:{}@gateway.sparkproxy.io:11002".format(\n os.environ["SPARK_USER"], os.environ["SPARK_PASS"]\n)\n\nloader = RecursiveUrlLoader(\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fdocs\u002F",\n max_depth=2,\n use_async=False, # the async branch ignores proxies entirely\n proxies={"http": PROXY, "https": PROXY},\n check_response_status=True, # skip 4xx\u002F5xx pages instead of indexing them\n timeout=30,\n prevent_outside=True,\n)\ndocs = loader.load()\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>This example uses port 11002, Sticky Sessions, on purpose: a recursive crawl of one site benefits from one exit holding for the length of the session window, since some sites set a cookie on the first page and challenge requests that arrive from a new IP without it. Also note \u003Ccode>check_response_status\u003C\u002Fcode> defaults to \u003Ccode>False\u003C\u002Fcode>, so without it every 404 and 403 page in the crawl becomes a document.\u003C\u002Fp>\n\u003Cp>SitemapLoader is the awkward one. It subclasses WebBaseLoader, but it uses both HTTP stacks inside a single \u003Ccode>load()\u003C\u002Fcode> call: the sitemap XML comes through the requests path (\u003Ccode>_scrape\u003C\u002Fcode>), and the pages it lists come through \u003Ccode>scrape_all()\u003C\u002Fcode>, which is the aiohttp path. So no \u003Ccode>requests_kwargs\u003C\u002Fcode> value works. We tested each:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>requests_kwargs={\"proxies\": ...}\u003C\u002Fcode> fetched the sitemap through the proxy, then failed on the pages with the \u003Ccode>'proxies'\u003C\u002Fcode> TypeError.\u003C\u002Fli>\n\u003Cli>\u003Ccode>requests_kwargs={\"proxy\": ...}\u003C\u002Fcode> failed on the sitemap with the \u003Ccode>'proxy'\u003C\u002Fcode> TypeError.\u003C\u002Fli>\n\u003Cli>\u003Ccode>HTTP_PROXY\u003C\u002Fcode> set, default \u003Ccode>trust_env=False\u003C\u002Fcode>: sitemap proxied, pages direct.\u003C\u002Fli>\n\u003Cli>\u003Ccode>HTTP_PROXY\u003C\u002Fcode> set plus \u003Ccode>trust_env=True\u003C\u002Fcode>: sitemap and every page proxied.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Environment variables plus \u003Ccode>trust_env=True\u003C\u002Fcode> is the only configuration that routes the whole job without a subclass (it also needs \u003Ccode>pip install lxml\u003C\u002Fcode>):\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import os\n\nos.environ["HTTP_PROXY"] = os.environ["HTTPS_PROXY"] = "http:\u002F\u002F{}:{}@gateway.sparkproxy.io:11000".format(\n os.environ["SPARK_USER"], os.environ["SPARK_PASS"]\n)\nos.environ["NO_PROXY"] = "localhost,127.0.0.1" # add your embedding and vector DB hosts here\n\nfrom langchain_community.document_loaders.sitemap import SitemapLoader\n\nloader = SitemapLoader(\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fsitemap.xml",\n trust_env=True, # lets aiohttp read HTTP_PROXY \u002F HTTPS_PROXY\n requests_per_second=4, # a concurrency cap, despite the name\n continue_on_failure=True,\n show_progress=False,\n)\ndocs = loader.load()\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The catch with environment variables is scope. Everything in the process that honours them, including the HTTP client your embedding provider's SDK uses, now goes through the proxy too. List those hostnames in \u003Ccode>NO_PROXY\u003C\u002Fcode> so you aren't paying proxy threads for embedding calls.\u003C\u002Fp>",6,[],{"id":178,"title":179,"anchor":180,"content_html":181,"image":55,"image_alt":55,"item_order":182,"parent_link_num":30,"children":183},12046,"PlaywrightURLLoader's proxy argument","playwrighturlloaders-proxy-argument","\u003Cp>PlaywrightURLLoader is the one web loader with a first-class browser proxy setting. Its \u003Ccode>proxy\u003C\u002Fcode> dict goes straight to \u003Ccode>chromium.launch(proxy=...)\u003C\u002Fcode>, which matches Playwright's documented global proxy shape of \u003Ccode>server\u003C\u002Fcode>, \u003Ccode>username\u003C\u002Fcode> and \u003Ccode>password\u003C\u002Fcode>. Playwright's network docs note that credentials are for HTTP(S) proxies, so use port 11000 or 11002 here rather than the SOCKS5 port.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import os\n\nfrom langchain_community.document_loaders import PlaywrightURLLoader\n\nurls = [\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fpricing",\n "https:\u002F\u002Fwww.sparkproxy.io\u002Fdocs\u002Fscraping-api\u002F",\n]\n\nloader = PlaywrightURLLoader(\n urls=urls,\n proxy={\n "server": "http:\u002F\u002Fgateway.sparkproxy.io:11000",\n "username": os.environ["SPARK_USER"],\n "password": os.environ["SPARK_PASS"],\n },\n remove_selectors=["header", "footer", "nav"],\n wait_until="networkidle",\n timeout=45000,\n continue_on_failure=False, # default True drops failed URLs silently\n)\ndocs = loader.load()\nassert len(docs) == len(urls), "some URLs failed; check the log"\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Three behaviours to know. The default evaluator parses HTML with \u003Ccode>unstructured\u003C\u002Fcode>, so \u003Ccode>pip install unstructured\u003C\u002Fcode> is required. All URLs share one browser and one context, so on the Sticky Sessions port the whole list goes out from one exit until the window rolls over. And with the default \u003Ccode>continue_on_failure=True\u003C\u002Fcode>, a failed navigation is logged as \u003Ccode>Error fetching or processing \u003Curl>, exception: ...\u003C\u002Fcode> and the URL is simply skipped, which is why the document count check matters more than any setting. Broader Playwright proxy patterns, such as per-context proxies, are in our guide to \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fweb-scraping-with-playwright-and-proxies\">web scraping with Playwright and proxies\u003C\u002Fa>.\u003C\u002Fp>",7,[],{"id":185,"title":186,"anchor":187,"content_html":188,"image":55,"image_alt":55,"item_order":189,"parent_link_num":30,"children":190},12047,"AsyncChromiumLoader has no proxy option","asyncchromiumloader-has-no-proxy-option","\u003Cp>AsyncChromiumLoader takes \u003Ccode>urls\u003C\u002Fcode>, \u003Ccode>headless\u003C\u002Fcode> and \u003Ccode>user_agent\u003C\u002Fcode>. That's all. It calls \u003Ccode>p.chromium.launch(headless=self.headless)\u003C\u002Fcode> with no proxy, and we confirmed it doesn't pick one up from the environment either: with \u003Ccode>HTTP_PROXY\u003C\u002Fcode> and \u003Ccode>HTTPS_PROXY\u003C\u002Fcode> both set, the browser connected directly and returned the navigation error as the document text. (Our environment couldn't download Playwright's headless shell, so this test ran headed Chromium; the launch call is the same either way.)\u003C\u002Fp>\n\u003Cp>The fix is a small subclass that keeps the loader's interface:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import asyncio\nimport os\n\nfrom langchain_community.document_loaders import AsyncChromiumLoader\nfrom langchain_community.document_transformers import Html2TextTransformer\n\n\nclass ProxiedChromiumLoader(AsyncChromiumLoader):\n """AsyncChromiumLoader with a Playwright proxy and a cap on parallel browsers."""\n\n def __init__(self, urls, *, proxy, max_browsers=4, **kwargs):\n super().__init__(urls, **kwargs)\n self.proxy = proxy\n self._sem = asyncio.Semaphore(max_browsers)\n\n async def ascrape_playwright(self, url: str) -> str:\n from playwright.async_api import async_playwright\n\n async with self._sem, async_playwright() as p:\n browser = await p.chromium.launch(headless=self.headless, proxy=self.proxy)\n try:\n page = await browser.new_page(user_agent=self.user_agent)\n response = await page.goto(url, wait_until="networkidle", timeout=45000)\n if response is None or response.status >= 400:\n status = response.status if response else "no response"\n raise RuntimeError(f"{url} returned {status}")\n return await page.content()\n finally:\n await browser.close()\n\n\nloader = ProxiedChromiumLoader(\n ["https:\u002F\u002Fwww.sparkproxy.io\u002Fblog"],\n proxy={\n "server": "http:\u002F\u002Fgateway.sparkproxy.io:11000",\n "username": os.environ["SPARK_USER"],\n "password": os.environ["SPARK_PASS"],\n },\n)\nhtml_docs = loader.load()\ntext_docs = Html2TextTransformer().transform_documents(html_docs)\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Two changes beyond the proxy. The subclass raises instead of returning \u003Ccode>\"Error: ...\"\u003C\u002Fcode> as content, so failures surface. And the semaphore exists because the stock \u003Ccode>alazy_load()\u003C\u002Fcode> runs \u003Ccode>asyncio.gather\u003C\u002Fcode> over every URL at once, launching one Chromium process per URL. Hand it 300 URLs and you start 300 browsers. Note that \u003Ccode>load()\u003C\u002Fcode> (sync) goes through \u003Ccode>lazy_load()\u003C\u002Fcode>, which scrapes one URL at a time, so the cap only matters on the async path. With the proxy subclass, the same local test proxy logged the browser's requests and the document contained the proxied page.\u003C\u002Fp>",8,[],{"id":192,"title":193,"anchor":194,"content_html":195,"image":55,"image_alt":55,"item_order":196,"parent_link_num":30,"children":197},12048,"Swapping in the Scraping API for JS-heavy pages","swapping-in-the-scraping-api-for-js-heavy-pages","\u003Cp>Running Chromium yourself is the expensive end of ingestion: memory per browser, challenge pages, and the subclass above to maintain on a sunset package. For the subset of URLs that need rendering or keep returning challenges, a custom loader that calls the SparkProxy Scraping API is simpler. The API renders the page, picks the exit, and can return Markdown directly, so you skip the HTML-to-text step.\u003C\u002Fp>\n\u003Cp>Facts from the Scraping API docs, read 31 October 2026: base URL \u003Ccode>https:\u002F\u002Fscrape.sparkproxy.io\u002Fapi\u002Fv1\u003C\u002Fcode>, key in the \u003Ccode>X-API-Key\u003C\u002Fcode> header. \u003Ccode>render_js\u003C\u002Fcode> defaults to \u003Ccode>true\u003C\u002Fcode> and costs 5 credits; \u003Ccode>render_js=false\u003C\u002Fcode> is a plain fetch at 1 credit. \u003Ccode>country_code\u003C\u002Fcode> adds 5. \u003Ccode>format\u003C\u002Fcode> only converts content (\u003Ccode>html\u003C\u002Fcode>, \u003Ccode>md\u003C\u002Fcode>, \u003Ccode>mdx\u003C\u002Fcode>, \u003Ccode>json\u003C\u002Fcode>, \u003Ccode>screenshot\u003C\u002Fcode>, \u003Ccode>pdf\u003C\u002Fcode>). The envelope with \u003Ccode>job_id\u003C\u002Fcode>, \u003Ccode>status_code\u003C\u002Fcode>, \u003Ccode>duration_ms\u003C\u002Fcode>, \u003Ccode>credits_used\u003C\u002Fcode> and \u003Ccode>body\u003C\u002Fcode> comes from \u003Ccode>json_response=true\u003C\u002Fcode>, and \u003Cstrong>\u003Ccode>body\u003C\u002Fcode> is base64\u003C\u002Fstrong>, so decode it before checking anything. A 530 means the scrape failed (timeout, block or CAPTCHA) and credits are refunded.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import base64\nimport os\nfrom typing import Iterator, Optional\n\nimport requests\nfrom langchain_core.document_loaders import BaseLoader\nfrom langchain_core.documents import Document\n\nAPI = "https:\u002F\u002Fscrape.sparkproxy.io\u002Fapi\u002Fv1"\n\n\nclass SparkScrapeLoader(BaseLoader):\n """Load pages as Markdown through the SparkProxy Scraping API."""\n\n def __init__(self, urls, *, render_js: bool = True,\n country_code: Optional[str] = None, wait_for: Optional[str] = None):\n self.urls = list(urls)\n self.params = {\n "render_js": str(render_js).lower(),\n "format": "md",\n "json_response": "true",\n }\n if country_code:\n self.params["country_code"] = country_code\n if wait_for and render_js:\n self.params["wait_for"] = wait_for\n self.http = requests.Session()\n self.http.headers["X-API-Key"] = os.environ["SPARK_API_KEY"]\n\n def lazy_load(self) -> Iterator[Document]:\n for url in self.urls:\n r = self.http.get(API, params={**self.params, "url": url}, timeout=200)\n if r.status_code == 530:\n print(f"skip {url}: scrape failed upstream, credits refunded")\n continue\n r.raise_for_status()\n env = r.json()\n text = base64.b64decode(env["body"]).decode("utf-8", errors="replace")\n yield Document(\n page_content=text,\n metadata={\n "source": url,\n "status_code": env.get("status_code"),\n "credits_used": env.get("credits_used"),\n "job_id": env.get("job_id"),\n "fetched_via": "sparkproxy-scraping-api",\n },\n )\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The \u003Ccode>timeout=200\u003C\u002Fcode> leaves room for the API's own retry ladder: its docs say the first navigation attempt times out at 90 seconds and up to 3 retries follow with longer limits. Keep \u003Ccode>extract_rules\u003C\u002Fcode> out of this loader; it replaces the response with an \u003Ccode>extracted\u003C\u002Fcode> object and shouldn't be combined with \u003Ccode>json_response\u003C\u002Fcode>. If your follow-on step pulls structured fields out of these pages with a model, the token arithmetic for that is worked through in \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fllm-extraction-vs-css-selectors\">LLM extraction vs CSS selectors\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>We attempted one live call to verify the envelope while writing this, and the API endpoint returned an HTTP 521 at that moment, so the loader above follows the published docs rather than a captured response. Check one URL by hand before running a batch.\u003C\u002Fp>",9,[],{"id":199,"title":200,"anchor":201,"content_html":202,"image":55,"image_alt":55,"item_order":203,"parent_link_num":30,"children":204},12049,"Gate content before it reaches embeddings","gate-content-before-it-reaches-embeddings","\u003Cp>Whatever loader you use, put a check between loading and splitting. Embedding is the last cheap moment to catch a bad page; after that it sits in your index and gets retrieved as an answer. The gate below rejects the failure shapes from the first section and routes rejects to the Scraping API loader for a second attempt:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import hashlib\nimport re\n\nBLOCK_TITLES = re.compile(\n r"just a moment|access denied|attention required|are you a robot|captcha|403 forbidden",\n re.IGNORECASE,\n)\n\n\ndef gate(doc, *, min_chars: int = 800, seen: set) -> str:\n """Return 'ok' or a reason string. Run before splitting and embedding."""\n text = doc.page_content.strip()\n status = doc.metadata.get("status_code")\n if not text:\n return "empty"\n if text.startswith("Error: "):\n return "loader-error"\n if status is not None and status >= 400:\n return f"status-{status}"\n if BLOCK_TITLES.search(doc.metadata.get("title", "")) or BLOCK_TITLES.search(text[:400]):\n return "challenge-page"\n if len(text) < min_chars:\n return "too-short"\n digest = hashlib.sha256(text.encode("utf-8")).hexdigest()\n if digest in seen:\n return "duplicate-body"\n seen.add(digest)\n return "ok"\n\n\ndef split_by_gate(docs):\n seen, good, retry = set(), [], []\n for doc in docs:\n reason = gate(doc, seen=seen)\n if reason == "ok":\n good.append(doc)\n else:\n doc.metadata["gate_reason"] = reason\n retry.append(doc)\n return good, retry\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Then the pipeline is three moves: load cheaply through the proxy, gate, and send only the rejects to \u003Ccode>SparkScrapeLoader(render_js=True)\u003C\u002Fcode>. Gate the second pass too, and log whatever still fails instead of embedding it. Tune \u003Ccode>min_chars\u003C\u002Fcode> per site; a product page can be legitimately short, a docs page rarely is. The duplicate check catches the case where twenty URLs all returned the same interstitial with a 200 status. For corpus-scale deduplication and quality filtering beyond this ingestion gate, see \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fproxies-for-ai-training-data\">proxies for AI training data\u003C\u002Fa>. Our guide on \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-detect-when-your-scraper-is-blocked\">how to detect when your scraper is blocked\u003C\u002Fa> lists more marker strings worth adding to \u003Ccode>BLOCK_TITLES\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>Store the raw loaded text with its hash and fetch time alongside the vectors. On the next scheduled refresh, re-embed only pages whose hash changed. Embedding calls usually cost more than the fetch, so this saves real money on a nightly job.\u003C\u002Fp>",10,[],{"id":206,"title":207,"anchor":208,"content_html":209,"image":55,"image_alt":55,"item_order":210,"parent_link_num":30,"children":211},12050,"Rotation, country, concurrency and cost","rotation-country-concurrency-and-cost","\u003Cp>\u003Cstrong>Random Rotation or Sticky Sessions.\u003C\u002Fstrong> For a list of independent URLs, use Random Rotation on port 11000: each connection can leave from a different IP, which spreads load across the pool. Use Sticky Sessions on port 11002 when the loader holds state across requests, as in a recursive crawl of one site or a \u003Ccode>PlaywrightURLLoader\u003C\u002Fcode> run with \u003Ccode>browser_session\u003C\u002Fcode> storage state. The trade-offs in more depth are in \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fwhat-is-a-sticky-session-proxy\">what a sticky session proxy is\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Country.\u003C\u002Fstrong> If the content you need varies by region, target the exit country. The SparkProxy homepage shows the username pattern \u003Ccode>user-country-us\u003C\u002Fcode> for US exits; check your dashboard for the exact form for other countries. On the Scraping API, the equivalent is \u003Ccode>country_code\u003C\u002Fcode> at +5 credits per request.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Concurrency.\u003C\u002Fstrong> SparkProxy plans are sold by concurrent threads with unlimited bandwidth, so the number that matters is how many connections your loaders hold open at once, not how many megabytes they pull. Prices from the SparkProxy homepage, read 31 October 2026, in US dollars excluding VAT\u002FGST, billed every 30 days:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Plan\u003C\u002Fth>\u003Cth>Price\u003C\u002Fth>\u003Cth>Threads\u003C\u002Fth>\u003Cth>Whitelisted IPs\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Starter\u003C\u002Ftd>\u003Ctd>$75\u002Fmo\u003C\u002Ftd>\u003Ctd>100\u003C\u002Ftd>\u003Ctd>5\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Core\u003C\u002Ftd>\u003Ctd>$140\u002Fmo\u003C\u002Ftd>\u003Ctd>250\u003C\u002Ftd>\u003Ctd>10\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Boost\u003C\u002Ftd>\u003Ctd>$240\u002Fmo\u003C\u002Ftd>\u003Ctd>500\u003C\u002Ftd>\u003Ctd>15\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Plus\u003C\u002Ftd>\u003Ctd>$440\u002Fmo\u003C\u002Ftd>\u003Ctd>1000\u003C\u002Ftd>\u003Ctd>25\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Entry pricing is \"Starting from $75\u002Fmonth\"; 3, 6 and 12-month terms take 5%, 10% and 15% off, and there's a 24-hour free trial with no credit card. The pool is 1M+ IPs across 80+ countries, over HTTP, HTTPS or SOCKS5, with IP whitelist or user:pass auth.\u003C\u002Fp>\n\u003Cp>Map that onto loaders. A WebBaseLoader async run with \u003Ccode>requests_per_second=8\u003C\u002Fcode> holds about 8 connections. A browser page is different: it fetches scripts, styles, images and XHRs, often several at once, all through the same proxy, so four parallel Chromium pages can hold far more than four connections. Leave headroom under your thread count, and keep the \u003Ccode>max_browsers\u003C\u002Fcode> cap from the Chromium subclass low until you have measured what one page costs in connections.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Scraping API credits.\u003C\u002Fstrong> The 1,000 free credits cover 200 rendered pages at 5 credits each, or 1,000 plain fetches with \u003Ccode>render_js=false\u003C\u002Fcode>. Batch mode (comma-separated URLs, \u003Ccode>render_js=false\u003C\u002Fcode> only) costs 1 credit for the whole batch, which suits a sitemap of static pages; per-plan credit pricing is broken down in \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fscraping-api-credit-pricing-explained\">Scraping API credit pricing explained\u003C\u002Fa>. If the ingestion feeds an agent's live browsing tool rather than a batch index, the buying criteria shift, and our guide to the \u003Ca href=\"https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fbest-proxies-for-ai-agents\">best proxies for AI agents\u003C\u002Fa> covers that case.\u003C\u002Fp>",11,[],{"id":213,"title":214,"anchor":215,"content_html":216,"image":55,"image_alt":55,"item_order":217,"parent_link_num":30,"children":218},12051,"About the Author","about-the-author","\u003Cp>The SparkProxy Technical Team builds and runs SparkProxy's datacenter proxy network (1M+ premium IPs across 80+ countries, HTTP\u002FHTTPS\u002FSOCKS5, IP whitelist and user:pass auth) and the SparkProxy Scraping API. The loader behaviour in this post was reproduced against \u003Ccode>langchain-community\u003C\u002Fcode> 0.4.2 source and a logging test proxy on 31 October 2026. Questions or corrections: support@sparkproxy.io.\u003C\u002Fp>",12,[],{"title":12,"description":13,"keywords":54,"canonical":11,"og_image":16,"article_published":31,"article_modified":32},{"ok":5,"data":221},{"featured":222,"recommended":279,"popular":365,"trending":450,"tags":529},[223,239,259],{"id":224,"slug":225,"url":226,"title":227,"summary":228,"image":229,"category":235,"author":236,"post_type":29,"views":210,"published_at":237,"updated_at":238},51,"datacenter-proxies-for-cybersecurity-threat-intelligence","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fdatacenter-proxies-for-cybersecurity-threat-intelligence","Threat Intelligence Proxies: OSINT & Dark Web Recon","Learn how datacenter proxies power threat intelligence: OSINT collection, dark web monitoring, and malware analysis without exposing your infrastructure.",{"big":230,"default":231,"slider":232,"mid":233,"small":234,"alt":227},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x580_6a33955e731a7.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x_6a33955f61a5f.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_694x532_6a33956023aaa.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_430x256_6a339560aea05.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_140x98_6a3395611f6e8.webp",{"name":21,"slug":22,"color":23,"url":24},{"name":26,"slug":27,"url":28},"2026-06-18T12:19:05+05:30","2026-06-18T12:22:22+05:30",{"id":240,"slug":241,"url":242,"title":243,"summary":244,"image":245,"category":251,"author":255,"post_type":29,"views":256,"published_at":257,"updated_at":258},19,"what-is-proxy-server","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fwhat-is-proxy-server","What Is a Proxy Server? Meaning & How It Works (2026)","A proxy server is an intermediary between your device and the internet, it hides your IP, filters traffic, and boosts security for 65%+ of enterprises.",{"big":246,"default":247,"slider":248,"mid":249,"small":250,"alt":243},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_6a06ac27a665d.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_6a06ac28c2130.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_6a06ac29b3fcc.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_6a06ac2a8a74f.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_6a06ac2b0ceb5.webp",{"name":252,"slug":253,"color":23,"url":254},"Proxy Basic","proxy-basic","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fproxy-basic",{"name":26,"slug":27,"url":28},318,"2026-05-15T10:46:54+05:30","2026-09-17T19:22:39+05:30",{"id":260,"slug":261,"url":262,"title":263,"summary":264,"image":265,"category":271,"author":275,"post_type":29,"views":276,"published_at":277,"updated_at":278},14,"how-to-build-a-captcha-solver-with-machine-learning","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-build-a-captcha-solver-with-machine-learning","CAPTCHA Solver with Machine Learning: Build & Troubleshoot (2026)","Build a CAPTCHA solver with machine learning in Python. CNN models hit 95%+ accuracy on text CAPTCHAs. Step-by-step code, model comparison & troubleshooting.",{"big":266,"default":267,"slider":268,"mid":269,"small":270,"alt":263},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_69ff7aa947352.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_69ff7aaa67dc6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_69ff7aac5ab3b.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_69ff7aad65722.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_69ff7aae08194.webp",{"name":272,"slug":273,"color":23,"url":274},"Guides","guides","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fguides",{"name":26,"slug":27,"url":28},317,"2026-05-09T23:53:54+05:30","2026-05-09T23:52:46+05:30",[280,297,314,331,350],{"id":281,"slug":282,"url":283,"title":284,"summary":285,"image":286,"category":292,"author":293,"post_type":29,"views":294,"published_at":295,"updated_at":296},140,"how-to-bypass-kasada","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-bypass-kasada","How to Bypass Kasada When Web Scraping","Bypass Kasada when scraping public data: how KPSDK proof-of-work, the x-kpsdk-ct and x-kpsdk-cd headers, and the 429 challenge work, plus real API code.",{"big":287,"default":288,"slider":289,"mid":290,"small":291,"alt":284},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x580_6a925ea519b4f.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x_6a925ea5b95b9.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_694x532_6a925ea63450a.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_430x256_6a925ea6b6494.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_140x98_6a925ea719974.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},115,"2026-07-30T14:00:01+05:30","2026-10-09T10:36:17+05:30",{"id":298,"slug":299,"url":300,"title":301,"summary":302,"image":303,"category":309,"author":310,"post_type":29,"views":311,"published_at":312,"updated_at":313},126,"how-to-bypass-perimeterx","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-bypass-perimeterx","How to Bypass PerimeterX (HUMAN Security) When Scraping","Bypass PerimeterX (HUMAN) when scraping public data: how _px cookies, the sensor JS, and Press and Hold work, plus real browsers, residential IPs, and API code.",{"big":304,"default":305,"slider":306,"mid":307,"small":308,"alt":301},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x580_6a925eaa150dc.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x_6a925eaa9e6c8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_694x532_6a925eab087e7.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_430x256_6a925eab6b6f6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_140x98_6a925eabbad1b.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},110,"2026-07-28T14:00:02+05:30","2026-09-18T00:56:56+05:30",{"id":315,"slug":316,"url":317,"title":318,"summary":319,"image":320,"category":326,"author":327,"post_type":29,"views":328,"published_at":329,"updated_at":330},31,"guide-to-proxy-dns-leak-testing-and-mitigation","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fguide-to-proxy-dns-leak-testing-and-mitigation","Guide to Proxy DNS Leak Testing and Mitigation","DNS leaks expose your queries to ISPs even when using a proxy. Learn how to test for proxy DNS leaks and apply proven mitigation steps to protect your privacy.",{"big":321,"default":322,"slider":323,"mid":324,"small":325,"alt":318},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_6a157b46bb504.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_6a157b47ef1bf.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_6a157b4903bfb.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_6a157b49d35f6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_6a157b4a65ae7.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},64,"2026-05-26T16:22:24+05:30","2026-09-17T19:22:34+05:30",{"id":217,"slug":332,"url":333,"title":334,"summary":335,"image":336,"category":342,"author":346,"post_type":29,"views":347,"published_at":348,"updated_at":349},"comparison-of-residential-vs-datacenter-vs-mobile-proxy-types","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fcomparison-of-residential-vs-datacenter-vs-mobile-proxy-types","Residential vs Datacenter vs Mobile Proxy Comparison (2026)","Datacenter proxies block at 30-60% on protected sites; residential hits 85-99%, mobile 97%. Compare all 3 proxy types with 2026 cost and use case guides.",{"big":337,"default":338,"slider":339,"mid":340,"small":341,"alt":334},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_69fc216857aed.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_69fc21698dbd9.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_69fc216a86ea4.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_69fc216b50b58.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_69fc216bebd4e.webp",{"name":343,"slug":344,"color":23,"url":345},"Comparisons","comparisons","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fcomparisons",{"name":26,"slug":27,"url":28},171,"2026-05-07T10:57:00+05:30","2026-05-13T13:28:14+05:30",{"id":351,"slug":352,"url":353,"title":354,"summary":355,"image":356,"category":362,"author":363,"post_type":29,"views":149,"published_at":364,"updated_at":32},706,"serpapi-alternatives","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fserpapi-alternatives","SerpApi Alternatives: 7 SERP APIs Compared on Cost","SerpApi alternatives priced side by side: cost per 1,000 Google SERPs at 10k to 1M a month, top-100 tracking after num=100, AI Overview capture and city geo.",{"big":357,"default":358,"slider":359,"mid":360,"small":361,"alt":354},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x580_6b044d2782b81.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_870x_6b044d284ebf0.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_694x532_6b044d28e15de.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_430x256_6b044d29595a8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202611\u002Fimage_140x98_6b044d29bdf1b.webp",{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},"2026-11-28T09:00:03+05:30",[366,383,400,416,433],{"id":367,"slug":368,"url":369,"title":370,"summary":371,"image":372,"category":378,"author":379,"post_type":29,"views":380,"published_at":381,"updated_at":382},22,"top-12-antidetect-browsers-best-tools-for-privacy-multi-account-management","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftop-12-antidetect-browsers-best-tools-for-privacy-multi-account-management","Best Antidetect Browsers: Top 12 Compared (Nov 2026)","The 12 best antidetect browsers for November 2026, with verified prices, exact free-plan limits, Chromium engine versions, Linux support and automation APIs.",{"big":373,"default":374,"slider":375,"mid":376,"small":377,"alt":370},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202609\u002Fimage_870x580_6a966a1823bfc.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202609\u002Fimage_870x_6a966a18ad167.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202609\u002Fimage_694x532_6a966a1917f18.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202609\u002Fimage_430x256_6a966a19774ed.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202609\u002Fimage_140x98_6a966a19c6b8c.webp",{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},636,"2026-05-17T22:53:20+05:30","2026-11-21T11:10:58+05:30",{"id":384,"slug":385,"url":386,"title":387,"summary":388,"image":389,"category":395,"author":396,"post_type":29,"views":397,"published_at":398,"updated_at":399},55,"proxy-ports-explained-80-443-8080-and-more","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fproxy-ports-explained-80-443-8080-and-more","Proxy Ports Explained: 80, 443, 8080 & Which to Use","Proxy ports 80, 443, 8080, 3128, and 1080 explained: which port to use for HTTP vs SOCKS5, why 8080 is the default, and how to fix blocked-port connection errors.",{"big":390,"default":391,"slider":392,"mid":393,"small":394,"alt":387},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x580_6a37d92d017d9.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x_6a37d92de61a6.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_694x532_6a37d92e9eaa1.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_430x256_6a37d92f4a6b8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_140x98_6a37d92fd9edc.webp",{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},372,"2026-06-21T17:56:45+05:30","2026-09-18T00:57:30+05:30",{"id":401,"slug":402,"url":403,"title":404,"summary":405,"image":406,"category":412,"author":413,"post_type":29,"views":414,"published_at":415,"updated_at":32},203,"how-to-scrape-yahoo-finance","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-scrape-yahoo-finance","How to Scrape Yahoo Finance Data (2026 Guide)","Scrape Yahoo Finance quotes, historical prices, and fundamentals from its hidden JSON API. Crumb and cookie setup, 429 fixes, Python code, and the legal rules.",{"big":407,"default":408,"slider":409,"mid":410,"small":411,"alt":404},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x580_6a796b2e7d133.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x_6a796b2f09929.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_694x532_6a796b2f6565f.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_430x256_6a796b2fbe29e.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_140x98_6a796b3012561.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},275,"2026-08-11T11:00:02+05:30",{"id":417,"slug":418,"url":419,"title":420,"summary":421,"image":422,"category":428,"author":429,"post_type":29,"views":430,"published_at":431,"updated_at":432},150,"how-to-bypass-imperva-incapsula","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-bypass-imperva-incapsula","How to Bypass Imperva (Incapsula) When Web Scraping","Bypass Imperva when web scraping public data: how Incapsula fingerprints via visid_incap, reese84, and ___utmvc, plus real browsers, clean IPs, and API code.",{"big":423,"default":424,"slider":425,"mid":426,"small":427,"alt":420},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x580_6a925ea05c8fb.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x_6a925ea0d96b7.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_694x532_6a925ea154378.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_430x256_6a925ea1b9967.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_140x98_6a925ea20ee9a.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},267,"2026-08-01T14:00:02+05:30","2026-08-29T09:52:56+05:30",{"id":434,"slug":435,"url":436,"title":437,"summary":438,"image":439,"category":445,"author":446,"post_type":29,"views":447,"published_at":448,"updated_at":449},280,"undetected-chromedriver-vs-patchright-vs-camoufox","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fundetected-chromedriver-vs-patchright-vs-camoufox","Undetected-ChromeDriver vs Patchright vs Camoufox","Undetected-ChromeDriver vs Patchright vs Camoufox compared by where each patch lives, what it defeats, real release dates, proxy support and resource cost.",{"big":440,"default":441,"slider":442,"mid":443,"small":444,"alt":437},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x580_6a958c74294b3.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_870x_6a958c749fbb5.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_694x532_6a958c75078bb.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_430x256_6a958c7564031.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202608\u002Fimage_140x98_6a958c75ad625.webp",{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},239,"2026-09-02T16:00:01+05:30","2026-08-31T19:45:16+05:30",[451,467,471,488,492,496,500,505,509,525],{"id":203,"slug":452,"url":453,"title":454,"summary":455,"image":456,"category":462,"author":463,"post_type":29,"views":464,"published_at":465,"updated_at":466},"how-to-test-proxies-complete-guide-to-proxy-testing-in-2026","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-test-proxies-complete-guide-to-proxy-testing-in-2026","How to Test Proxies: Complete Guide to Proxy Testing in 2026","How to test proxies in 2026: verify connectivity, latency, anonymity level, and geo accuracy. Includes a Python bulk tester. 43% of free proxy IPs are dead.",{"big":457,"default":458,"slider":459,"mid":460,"small":461,"alt":454},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_69f98431376f8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_69f9843245040.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_69f984336eb4a.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_69f984343ccdc.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_69f98434bbee5.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},783,"2026-05-05T11:21:24+05:30","2026-05-05T11:16:36+05:30",{"id":367,"slug":368,"url":369,"title":370,"summary":371,"image":468,"category":469,"author":470,"post_type":29,"views":380,"published_at":381,"updated_at":382},{"big":373,"default":374,"slider":375,"mid":376,"small":377,"alt":370},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},{"id":472,"slug":473,"url":474,"title":475,"summary":476,"image":477,"category":483,"author":484,"post_type":29,"views":485,"published_at":486,"updated_at":487},47,"how-to-integrate-proxies-with-selenium","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fhow-to-integrate-proxies-with-selenium","Selenium Proxy: Setup, Auth & Rotation (2026 Guide)","Set up a Selenium proxy in Python for Chrome and Firefox. Covers Selenium 4 Options, Selenium Wire auth, proxy rotation, and headless fixes with working code.",{"big":478,"default":479,"slider":480,"mid":481,"small":482,"alt":475},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x580_6a1e7df182c49.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_870x_6a1e7df24ecb0.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_694x532_6a1e7df2ed069.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_430x256_6a1e7df37fd0a.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202606\u002Fimage_140x98_6a1e7df3e50f4.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},477,"2026-06-16T12:16:51+05:30","2026-09-18T00:56:59+05:30",{"id":384,"slug":385,"url":386,"title":387,"summary":388,"image":489,"category":490,"author":491,"post_type":29,"views":397,"published_at":398,"updated_at":399},{"big":390,"default":391,"slider":392,"mid":393,"small":394,"alt":387},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":240,"slug":241,"url":242,"title":243,"summary":244,"image":493,"category":494,"author":495,"post_type":29,"views":256,"published_at":257,"updated_at":258},{"big":246,"default":247,"slider":248,"mid":249,"small":250,"alt":243},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":260,"slug":261,"url":262,"title":263,"summary":264,"image":497,"category":498,"author":499,"post_type":29,"views":276,"published_at":277,"updated_at":278},{"big":266,"default":267,"slider":268,"mid":269,"small":270,"alt":263},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":401,"slug":402,"url":403,"title":404,"summary":405,"image":501,"category":502,"author":503,"post_type":29,"views":504,"published_at":415,"updated_at":32},{"big":407,"default":408,"slider":409,"mid":410,"small":411,"alt":404},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},276,{"id":417,"slug":418,"url":419,"title":420,"summary":421,"image":506,"category":507,"author":508,"post_type":29,"views":430,"published_at":431,"updated_at":432},{"big":423,"default":424,"slider":425,"mid":426,"small":427,"alt":420},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":210,"slug":510,"url":511,"title":512,"summary":513,"image":514,"category":520,"author":521,"post_type":29,"views":522,"published_at":523,"updated_at":524},"guide-on-ethical-scraping-and-rate-limiting","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Fguide-on-ethical-scraping-and-rate-limiting","Ethical Web Scraping: Rate Limiting & robots.txt Guide (2026)","50% of web traffic is non-human (Imperva, 2025). Learn to build ethical scrapers with proper rate limiting, robots.txt compliance, and 429 backoff handling.",{"big":515,"default":516,"slider":517,"mid":518,"small":519,"alt":512},"https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x580_69fae5fe274fb.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_870x_69fae5ff314b8.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_694x532_69fae6002c40f.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_430x256_69fae600f3ebe.webp","https:\u002F\u002Fblog.cms.sparkproxy.io\u002Fuploads\u002Fimages\u002F202605\u002Fimage_140x98_69fae601a240a.webp",{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},240,"2026-05-06T12:18:22+05:30","2026-05-08T13:55:54+05:30",{"id":434,"slug":435,"url":436,"title":437,"summary":438,"image":526,"category":527,"author":528,"post_type":29,"views":447,"published_at":448,"updated_at":449},{"big":440,"default":441,"slider":442,"mid":443,"small":444,"alt":437},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},[530,534,538,542,546,550,554,558,562,566,570,574,578,581,585,588,592,596,600,604],{"name":531,"slug":532,"url":533},"web scraping","web-scraping","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fweb-scraping",{"name":535,"slug":536,"url":537},"datacenter proxies","datacenter-proxies","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fdatacenter-proxies",{"name":539,"slug":540,"url":541},"residential proxies","residential-proxies","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fresidential-proxies",{"name":543,"slug":544,"url":545},"antidetect browser","antidetect-browser","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fantidetect-browser",{"name":547,"slug":548,"url":549},"scraping api","scraping-api","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fscraping-api",{"name":551,"slug":552,"url":553},"multi-account management","multi-account-management","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fmulti-account-management",{"name":555,"slug":556,"url":557},"web scraping api","web-scraping-api","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fweb-scraping-api",{"name":559,"slug":560,"url":561},"proxy comparison","proxy-comparison","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fproxy-comparison",{"name":563,"slug":564,"url":565},"sticky sessions","sticky-sessions","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fsticky-sessions",{"name":567,"slug":568,"url":569},"browser fingerprinting","browser-fingerprinting","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fbrowser-fingerprinting",{"name":571,"slug":572,"url":573},"proxy pricing","proxy-pricing","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fproxy-pricing",{"name":575,"slug":576,"url":577},"proxy buying guide","proxy-buying-guide","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fproxy-buying-guide",{"name":579,"slug":579,"url":580},"kameleo","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fkameleo",{"name":582,"slug":583,"url":584},"dolphin anty","dolphin-anty","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fdolphin-anty",{"name":586,"slug":586,"url":587},"multilogin","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fmultilogin",{"name":589,"slug":590,"url":591},"rotating proxies","rotating-proxies","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Frotating-proxies",{"name":593,"slug":594,"url":595},"ISP proxies","isp-proxies","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fisp-proxies",{"name":597,"slug":598,"url":599},"IP reputation","ip-reputation","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fip-reputation",{"name":601,"slug":602,"url":603},"proxy types","proxy-types","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fproxy-types",{"name":605,"slug":606,"url":607},"proxy troubleshooting","proxy-troubleshooting","https:\u002F\u002Fwww.sparkproxy.io\u002Fblog\u002Ftag\u002Fproxy-troubleshooting",{"ok":5,"data":609},{"featured":610,"recommended":623,"popular":644,"trending":665,"tags":706},[611,615,619],{"id":224,"slug":225,"url":226,"title":227,"summary":228,"image":612,"category":613,"author":614,"post_type":29,"views":210,"published_at":237,"updated_at":238},{"big":230,"default":231,"slider":232,"mid":233,"small":234,"alt":227},{"name":21,"slug":22,"color":23,"url":24},{"name":26,"slug":27,"url":28},{"id":240,"slug":241,"url":242,"title":243,"summary":244,"image":616,"category":617,"author":618,"post_type":29,"views":256,"published_at":257,"updated_at":258},{"big":246,"default":247,"slider":248,"mid":249,"small":250,"alt":243},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":260,"slug":261,"url":262,"title":263,"summary":264,"image":620,"category":621,"author":622,"post_type":29,"views":276,"published_at":277,"updated_at":278},{"big":266,"default":267,"slider":268,"mid":269,"small":270,"alt":263},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},[624,628,632,636,640],{"id":281,"slug":282,"url":283,"title":284,"summary":285,"image":625,"category":626,"author":627,"post_type":29,"views":294,"published_at":295,"updated_at":296},{"big":287,"default":288,"slider":289,"mid":290,"small":291,"alt":284},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":298,"slug":299,"url":300,"title":301,"summary":302,"image":629,"category":630,"author":631,"post_type":29,"views":311,"published_at":312,"updated_at":313},{"big":304,"default":305,"slider":306,"mid":307,"small":308,"alt":301},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":315,"slug":316,"url":317,"title":318,"summary":319,"image":633,"category":634,"author":635,"post_type":29,"views":328,"published_at":329,"updated_at":330},{"big":321,"default":322,"slider":323,"mid":324,"small":325,"alt":318},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":217,"slug":332,"url":333,"title":334,"summary":335,"image":637,"category":638,"author":639,"post_type":29,"views":347,"published_at":348,"updated_at":349},{"big":337,"default":338,"slider":339,"mid":340,"small":341,"alt":334},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},{"id":351,"slug":352,"url":353,"title":354,"summary":355,"image":641,"category":642,"author":643,"post_type":29,"views":149,"published_at":364,"updated_at":32},{"big":357,"default":358,"slider":359,"mid":360,"small":361,"alt":354},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},[645,649,653,657,661],{"id":367,"slug":368,"url":369,"title":370,"summary":371,"image":646,"category":647,"author":648,"post_type":29,"views":380,"published_at":381,"updated_at":382},{"big":373,"default":374,"slider":375,"mid":376,"small":377,"alt":370},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},{"id":384,"slug":385,"url":386,"title":387,"summary":388,"image":650,"category":651,"author":652,"post_type":29,"views":397,"published_at":398,"updated_at":399},{"big":390,"default":391,"slider":392,"mid":393,"small":394,"alt":387},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":401,"slug":402,"url":403,"title":404,"summary":405,"image":654,"category":655,"author":656,"post_type":29,"views":414,"published_at":415,"updated_at":32},{"big":407,"default":408,"slider":409,"mid":410,"small":411,"alt":404},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":417,"slug":418,"url":419,"title":420,"summary":421,"image":658,"category":659,"author":660,"post_type":29,"views":430,"published_at":431,"updated_at":432},{"big":423,"default":424,"slider":425,"mid":426,"small":427,"alt":420},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":434,"slug":435,"url":436,"title":437,"summary":438,"image":662,"category":663,"author":664,"post_type":29,"views":447,"published_at":448,"updated_at":449},{"big":440,"default":441,"slider":442,"mid":443,"small":444,"alt":437},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},[666,670,674,678,682,686,690,694,698,702],{"id":203,"slug":452,"url":453,"title":454,"summary":455,"image":667,"category":668,"author":669,"post_type":29,"views":464,"published_at":465,"updated_at":466},{"big":457,"default":458,"slider":459,"mid":460,"small":461,"alt":454},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":367,"slug":368,"url":369,"title":370,"summary":371,"image":671,"category":672,"author":673,"post_type":29,"views":380,"published_at":381,"updated_at":382},{"big":373,"default":374,"slider":375,"mid":376,"small":377,"alt":370},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},{"id":472,"slug":473,"url":474,"title":475,"summary":476,"image":675,"category":676,"author":677,"post_type":29,"views":485,"published_at":486,"updated_at":487},{"big":478,"default":479,"slider":480,"mid":481,"small":482,"alt":475},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":384,"slug":385,"url":386,"title":387,"summary":388,"image":679,"category":680,"author":681,"post_type":29,"views":397,"published_at":398,"updated_at":399},{"big":390,"default":391,"slider":392,"mid":393,"small":394,"alt":387},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":240,"slug":241,"url":242,"title":243,"summary":244,"image":683,"category":684,"author":685,"post_type":29,"views":256,"published_at":257,"updated_at":258},{"big":246,"default":247,"slider":248,"mid":249,"small":250,"alt":243},{"name":252,"slug":253,"color":23,"url":254},{"name":26,"slug":27,"url":28},{"id":260,"slug":261,"url":262,"title":263,"summary":264,"image":687,"category":688,"author":689,"post_type":29,"views":276,"published_at":277,"updated_at":278},{"big":266,"default":267,"slider":268,"mid":269,"small":270,"alt":263},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":401,"slug":402,"url":403,"title":404,"summary":405,"image":691,"category":692,"author":693,"post_type":29,"views":504,"published_at":415,"updated_at":32},{"big":407,"default":408,"slider":409,"mid":410,"small":411,"alt":404},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":417,"slug":418,"url":419,"title":420,"summary":421,"image":695,"category":696,"author":697,"post_type":29,"views":430,"published_at":431,"updated_at":432},{"big":423,"default":424,"slider":425,"mid":426,"small":427,"alt":420},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":210,"slug":510,"url":511,"title":512,"summary":513,"image":699,"category":700,"author":701,"post_type":29,"views":522,"published_at":523,"updated_at":524},{"big":515,"default":516,"slider":517,"mid":518,"small":519,"alt":512},{"name":272,"slug":273,"color":23,"url":274},{"name":26,"slug":27,"url":28},{"id":434,"slug":435,"url":436,"title":437,"summary":438,"image":703,"category":704,"author":705,"post_type":29,"views":447,"published_at":448,"updated_at":449},{"big":440,"default":441,"slider":442,"mid":443,"small":444,"alt":437},{"name":343,"slug":344,"color":23,"url":345},{"name":26,"slug":27,"url":28},[707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726],{"name":531,"slug":532,"url":533},{"name":535,"slug":536,"url":537},{"name":539,"slug":540,"url":541},{"name":543,"slug":544,"url":545},{"name":547,"slug":548,"url":549},{"name":551,"slug":552,"url":553},{"name":555,"slug":556,"url":557},{"name":559,"slug":560,"url":561},{"name":563,"slug":564,"url":565},{"name":567,"slug":568,"url":569},{"name":571,"slug":572,"url":573},{"name":575,"slug":576,"url":577},{"name":579,"slug":579,"url":580},{"name":582,"slug":583,"url":584},{"name":586,"slug":586,"url":587},{"name":589,"slug":590,"url":591},{"name":593,"slug":594,"url":595},{"name":597,"slug":598,"url":599},{"name":601,"slug":602,"url":603},{"name":605,"slug":606,"url":607},["Reactive",728],{"$snuxt-i18n-meta":729,"$scolor-mode":730,"$ssite-config":732},{},{"preference":731,"value":731,"unknown":5,"forced":56},"system",{"currentLocale":733,"defaultLocale":733,"env":734,"name":735,"trailingSlash":5,"url":736},"en","production","sparkproxy-nuxt","https:\u002F\u002Fwww.sparkproxy.io",["Set"],["ShallowReactive",739],{"$fbqBN8N5zep7F4PiFFqv3Sf9JaALkRuTKapt8Gh754Qo":32,"$fGUQYAV6ApxeRaOaBsKEfQyKF29rKbuIiQcZ7g1Vvmx4":32,"$ftobFREwkbef1kEw4fzFEYg3CR0Z57HebcGPY6pmOlQk":32,"blog-sidebar":32},"\u002Fblog\u002Flangchain-web-loader-proxy"]</script></body></html>