入門指南
簡介
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?