import requests
import base64

# Replace with your FineProxy credentials
email = "[email protected]"
password = "your_password"

# Encode credentials for authentication
credentials = base64.b64encode(f"{email}:{password}".encode()).decode()
headers = {"Authorization": f"Basic {credentials}"}

# URL to fetch the list of proxies
url = "https://api.fineproxy.org/api/products"

# Make a GET request with authentication
response = requests.get(url, headers=headers)

# Check if the request was successful and print the results
if response.status_code == 200:
    proxy_list = response.json()
    print("List of proxies:")
    for proxy in proxy_list:
        print(proxy)
else:
    print(f"Error fetching proxy list: {response.status_code}")

在使用此脚本之前,请确保您拥有 FineProxy 帐户并相应地输入您的凭据。此外,请确保您拥有 requests 安装模块以发送 HTTP 请求。

评论 (0)

这里还没有评论,你可以成为第一个评论者!

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注


选择和购买代理

数据中心代理

轮流代理

UDP代理机构

受到全球 10000 多家客户的信赖

代理客户
代理客户
代理客户 flowch.ai
代理客户
代理客户
代理客户