首页 / 帮助文档 / 网页解锁器 vs 自建代理池

网页解锁器 vs 自建代理池

Web Unlocker vs a DIY Proxy Pool

工程成本 · 重试与验证码开销 · 按请求 vs 按流量 · 什么时候自建更划算 · 2026-11-27 更新
engineering cost · retry and solver overhead · per-request vs per-GB · when DIY wins · updated 27 November 2026

两种做法都是“发一个 URL,拿回 HTML”。区别在于失败处理放在哪儿:放在你的仓库里,还是放在别人那儿。这一个选择对单位成本的影响,比你谈下来的每 GB 单价大得多。

IPLight 网页解锁器按请求计费,目前即将上线,价格在上线时公布。这一页讲清取舍,方便你判断是等它,还是自己搭那条链。这不是在说产品今天已经可以随便买。

你实际买到的是什么

环节自建:代理池 + 你的代码解锁器 API
出口选择自己买池子、自己轮换服务端按目标自动选出口类型与地区
反爬对抗自己接验证码、改指纹、排 header内置,持续更新
重试自己做队列、退避、死信服务端做;只对成功的请求计费
可观测自己的日志、自己的成功率控制台看每个请求的状态与用量
计费口径流量 + 工程时间按请求
失败成本失败那几次的字节也要付钱失败不计费

没人写进表格的工程账单

能跑的自建方案不是“加个代理”。最少要这些:

这张清单上每一项都是你要拥有、要测、要在厂商更新时修的代码。解锁器把这一整层收进一个端点。值不值这个按请求的价格,取决于你打多少个不同的硬目标、它们多久变一次。

按请求与按流量:算一次就知道

两个口径量的不是一回事,所以要放在同一个活儿上比。假设十万个页面、屏蔽后平均 90 KB、走动态住宅 $1.20/GB:

100,000 页 x 90 KB  = 9,000,000 KB = 9,000 MB = 9 GB
9 GB x $1.20/GB          = $10.80 的代理流量

# 再加上你这一侧
重试放大                 = 硬目标乘 1.3-2.0
验证码成本               = 按千次计价,如果用
工程维护                 = 你的时间,每个月都有

九 GB 是 10.80 美元。这个数字小到说明:决策从来不是流量贵不贵,而是硬目标上那 3% 的失败率是不是比解锁溢价更贵。通常是的——流水线里少一页,意味着下游有人要发现、要排查、要补数。

一个有用的自检:如果你的流量账单一个月不到 50 美元,你买的不是带宽,是工程量。该优化的是维护工时,不是每 GB 单价。

什么情况自建确实更好

什么情况解锁器赢

不用推翻代码的迁移路径

解锁端点的认证方式和代理产品完全一样:用户名密码、HTTPS 端点、目标 URL 就是请求目标。所以多数代码库里,迁移只是换一个代理字符串:

import requests

# 之前:自己的池子
# proxy = "http://user:pass@residential-gateway:port"

# 之后:解锁端点
proxy = "http://username:password@unlock-host:port"

r = requests.get("https://target-site/any-page",
                 proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.status_code)   # 200 = 解锁成功
print(r.text[:200])    # 目标页 HTML

保留你的 URL 列表和解析器,只换传输层。如果某个目标上解锁器不如自建,把那个目标单独路由回自己的池子——两条路可以跑在同一段代码里。

决定之前要问的五个问题

  1. 覆盖哪些反爬厂商,多久复测一次?
  2. 按尝试计费还是按成功计费?这个差别就是你的全部失败预算。
  3. 目标页真的不存在时怎么算——404 收不收钱?
  4. 能不能按请求指定国家或地区?
  5. 返回的只有 HTML,还是也给状态码、响应头和重定向后的最终 URL?

常见问题

网页解锁器现在能用吗?

还不能。即将上线,按请求计费,价格在上线时公布。可以先预约接入,并把目标站和量级告诉销售。

它能完全替代代理吗?

只要 HTML 的页面可以。需要交互——点击、滚动、填表、跑真实浏览器会话——还是得有浏览器加代理,所以多数技术栈里两个产品是并存的。

怎么认证?

和代理产品一样:用户名密码打 HTTPS 端点,目标 URL 作为请求目标。从代理字符串换成解锁端点,基本是一行代码的事。

目标页不存在时怎么处理?

只对成功解锁计费。页面真的不存在和页面被拦是两种不同的失败,端点会如实区分,不会用 200 包一个验证页糊过去。

网页解锁器按请求计费,价格上线时公布。把你的目标站和日请求量发过来,可以优先安排。

预约接入

Both approaches send a URL and get HTML back. The difference is where the failure handling lives: in your repository, or in someone else's. That single choice determines your unit economics far more than the per-gigabyte price you negotiated.

The IPLight Web Unlocker is billed per request and is launching soon — pricing is announced at launch. This page explains the trade-off so you can decide whether to wait for it or build the chain yourself. It is not a claim that the product is generally available today.

What you are actually buying

ConcernDIY: proxies plus your codeUnlocker API
Exit selectionYou buy a pool and rotate it yourselfServer picks exit type and geography per target
Anti-bot challengesYou integrate solvers, fingerprint patches, header orderingBuilt in and continuously updated
RetriesYou build queues, backoff and dead-letter handlingServer-side; only successful requests are billed
ObservabilityYour own logging, your own success metricPer-request status and usage in the console
Billing basisTraffic plus engineering timePer request
Failure costYou pay for the bytes of failed attemptsFailed requests are not billed

The engineering bill nobody puts in the spreadsheet

A working DIY stack is not "requests through a proxy". At minimum it is:

Every item on that list is code you own, test, and fix when a vendor ships a change. The unlocker moves all of it behind one endpoint. Whether that is worth the per-request price depends on how many distinct hard targets you hit and how often they change.

Per request vs per gigabyte: the arithmetic

The two models measure different things, so compare them on a single job. Suppose you fetch 100,000 pages, average 90 KB each with images blocked, through dynamic residential at $1.20/GB:

100,000 pages x 90 KB  = 9,000,000 KB = 9,000 MB = 9 GB
9 GB x $1.20/GB          = $10.80 of proxy traffic

# now add your side
retry overhead            = multiply by 1.3-2.0 for hard targets
solver cost               = per-1000-solves pricing, if you use one
engineering maintenance   = your time, every month

Nine gigabytes is $10.80. That number is small enough that the decision is never about traffic — it is about whether a 3% failure rate on a hard target costs more than the unlocking premium. It usually does, because a failed page in a pipeline means a hole in the dataset that someone downstream has to notice, investigate and backfill.

A useful sanity check: if your traffic bill is under $50/month, you are not buying bandwidth, you are buying engineering. Optimise the number of maintenance hours, not the per-GB rate.

When DIY genuinely wins

When the unlocker wins

A migration path that does not throw away your code

The unlock endpoint authenticates exactly like the proxy products: username and password, an HTTPS endpoint, target URL as the request target. That means a migration is a proxy-string change in most codebases, not a rewrite:

import requests

# before: your own pool
# proxy = "http://user:pass@residential-gateway:port"

# after: the unlock endpoint
proxy = "http://username:password@unlock-host:port"

r = requests.get("https://target-site/any-page",
                 proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.status_code)   # 200 = unlocked
print(r.text[:200])    # target page HTML

Keep the URL list and the parser, change the transport. If the unlocker underperforms on a specific target, route that target back to your own pool — the two can run side by side on the same code path.

What to ask before committing

  1. Which anti-bot vendors are covered, and how often is coverage re-tested?
  2. Is billing per attempt or per successful request? The difference is your entire failure budget.
  3. What happens on a target that is genuinely down — is a 404 billed?
  4. Can I pin a country or region per request?
  5. Do you return the raw HTML only, or also status, headers and the final URL after redirects?

Frequently asked questions

Is the Web Unlocker available now?

No. It is launching soon and billed per request, with pricing announced at launch. You can reserve access and talk to sales about your target sites and volume.

Does it replace proxies entirely?

For pages you only need as HTML, yes. For interaction — clicking, scrolling, filling forms, running a real browser session — you still need a browser behind a proxy, so both products coexist in most stacks.

How is it authenticated?

The same way as the proxy products: username and password against an HTTPS endpoint, with the target URL as the request target. Moving from a proxy string to the unlock endpoint is a one-line change.

What happens if the target page does not exist?

Billing applies to successful unlocks. A genuinely missing page is a different failure from a blocked one, and the endpoint reports the distinction rather than hiding it behind a 200 with a challenge body.

The Web Unlocker is billed per request with pricing announced at launch. Send your target sites and daily volume to be prioritised.

Reserve access

更多文档 IPLight 帮助文档中心 · 开发者文档 · support@iplight.net · 返回官网