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 프록시

전 세계 10,000명 이상의 고객이 신뢰함

대리 고객
대리 고객
대리 고객 flowch.ai
대리 고객
대리 고객
대리 고객