入门指南
简介
Thordata 高带宽代理服务整合全球70多个地区的真实住宅 IP 资源。提供100+Gbps带宽的大规模视频抓取服务,无缝处理各大视频平台海量数据,性能稳定可靠。
要使用我们的高带宽代理进行音视频数据抓取,请联系销售团队:获取您的专属代理端点。我们将为每位客户分配一个根据实际需求定制的独立代理节点,确保服务高效稳定
端点配置
在账户管理团队向您提供端点后,您将获得:
一个专用的代理端点
您的用户名和密码
端口号
认证方式
动态住宅代理支持两种认证方式:
为每次下载设置会话
为确保最佳成功率,高带宽代理在每次会话期间会自动进行负载均衡。只需在用户名后添加 sessid-[自定义会话标识]+sesstime-[持续时间] 参数,系统便会生成一个随机数作为会话 ID,并为每次下载自动分配不同的 IP 地址。
curl -x "https://td-customer-USERNAME-country-us-sessid-a123123-sesstime-10:[email protected]:9999" "https://ipinfo.thordata.com"using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
class csharp_https
{
static void Main(string[] args)
{
Task t = new Task(DownloadPageAsync);
t.Start();
Console.ReadLine();
}
static async void DownloadPageAsync()
{
string page = "https://ipinfo.thordata.com";
var proxy = new WebProxy("https://t.thordata.online:9999")
{
UseDefaultCredentials = false,
Credentials = new NetworkCredential(
userName: "td-customer-USERNAME-country-us-sessid-a123123-sesstime-10",
password: "PASSWORD")
};
var httpClientHandler = new HttpClientHandler()
{
Proxy = proxy,
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
};
var client = new HttpClient(handler: httpClientHandler, disposeHandler: true);
var response = await client.GetAsync(page);
using (HttpContent content = response.Content)
{
string result = await content.ReadAsStringAsync();
Console.WriteLine(result);
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}
}
}如需将代理直接集成到 yt-dlp 等工具中,请参阅以下页面:
需要帮助?
如果您需要进一步说明或位置定位方面的帮助,请随时通过以下方式与我们联系:
Email: [email protected]
Live Chat:Thordata 在 官网 提供24/7 Live Chat
Last updated
Was this helpful?