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}")

Bu betiği kullanmadan önce FineProxy hesabınızın olduğundan emin olun ve kimlik bilgilerinizi buna göre girin. Ayrıca, aşağıdaki özelliklere sahip olduğunuzdan emin olun: requests HTTP isteklerini göndermek için kurulan modül.

Yorumlar (0)

Burada henüz yorum yok, ilk siz olabilirsiniz!

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir


Proxy Seçin ve Satın Alın

Veri Merkezi Proxyleri

Dönen Proxyler

UDP Proxyleri

Dünya Çapında 10.000'den Fazla Müşterinin Güvendiği

Vekil Müşteri
Vekil Müşteri
Vekil Müşteri flowch.ai
Vekil Müşteri
Vekil Müşteri
Vekil Müşteri