通过登录建立连接并定位目标
固定会话、按地理位置/ASN/ISP/邮政编码限制退出IP,以及组合定向——只需在代理登录名后添加后缀即可实现。
工作原理
您的住宅代理登录名应为 login_targetingSuffixes 这种格式。基础部分 xxx 是您的凭据——在其后添加 targeting 和 session 后缀,并用下划线分隔。
base country city session ttl xxx_c_US_city_New-York_s_100_ttl_30s
连接详细信息
代理主机(因地区而异)
主持人
位置
res.proxy-seller.com
NL
us.res.proxy-seller.com
美国
asia.res.proxy-seller.com
JP-东京
asia2.res.proxy-seller.com
JP-东京
港口
10000
类型
HTTPS / SOCKS5(自动检测)
用户名和密码
通过主包向其签发
PUT/zh-CN/resident/list/tools或者针对子用户
PUT/zh-CN/residentsubuser/list/tools
对于并发请求,请使用 10000–10999 号端口。每个端口对应一个独立的出口 IP 地址——1.2.3.4:10005 和 1.2.3.4:10006 属于不同的 IP 地址。
目标后缀
在登录名后添加任意组合,即可限制退出IP。如果不添加后缀,每次请求都会从全局池中分配一个新的IP。
目标 | 后缀 | 注释 |
|---|---|---|
国家 |
| ISO 3166-1 两字母代码,区分大小写。国家列表 → |
细分 |
| 地区/州代码。子分类列表 → |
城市 |
| 将空格替换为 -(例如:New-York)。通常与国家名称结合使用。 |
ISP |
| 数字形式的ISP ID。ISP列表 → |
ASN |
| 自治系统编号。 |
邮政编码 |
| 需要选择国家( |
通过串联组合多个后缀:xxx_c_US_city_New-York_asn_12271
会话控制
通过添加会话 ID(可选地设置 TTL),在不同请求中复用同一出口 IP。
控制 | 后缀 | 注释 |
|---|---|---|
会话 ID |
| 任意字母数字字符串。在会话存活期间,相同的 ID 对应相同的退出 IP。非活动会话将在 60 分钟后过期。 |
会话 TTL |
| 自定义会话时长。后缀:s 秒、m 分钟、h 小时。必须遵循 |
# pinned for 10 seconds curl -x xxx_s_100_ttl_10s:[email protected]:10000 https://example.com
# pinned for 15 minutes curl -x xxx_s_100_ttl_15m:[email protected]:10000 https://example.com
# pinned for 1 hour curl -x xxx_s_100_ttl_1h:[email protected]:10000 https://example.com综合来看
将所有后缀串联起来——国家 + 城市 + ISP + 会话 + TTL,一次性全部包含。
# country + city + ASN + session curl -x xxx_c_US_city_New-York_asn_12271_s_100:[email protected]:10000 https://example.com
# country + city + session curl -x xxx_c_US_city_New-York_s_100:[email protected]:10000 https://example.com
# country + ASN curl -x xxx_c_US_asn_12271:[email protected]:10000 https://example.com速查表
_c_{country} → _c_US _sd_{subdivision} → _sd_1906 _city_{city} → _city_New-York _isp_{ispId} → _isp_51811 _asn_{asn} → _asn_12389 _zip_{zip} → _zip_10001 (with _c_) _s_{sessionId} → _s_100 _ttl_{duration} → _ttl_30s | _ttl_15m | _ttl_1h