Guida Proxy List Scrapper Semplicissimo

inforge-user001

Utente Jade
28 Marzo 2020
557
61
2,301
732


Tramite questo programma potete scrivre dentro un file di testo .txt una lista di proxy recuperata in tempo reale.

Utilizzo la libreria Proxy_List_Scrapper scaricabile tramite
Codice:
pip install Proxy-List-Scrapper

Se non volete salvare il risultato in un file di testo ma volete stamparla in ouput allora dovrete modificare le righe 6..13 ovvero:
Python:
path = input("Enter the path of the .txt file on which to write the proxies: ")
f = open(path, "a")

for item in data.proxies:
    proxy = '{}:{}\n'.format(item.ip, item.port)
    f.write(proxy)

f.close()
con questo codice qua
Python:
for item in data.proxies:
    print('{}:{}\n'.format(item.ip, item.port))

Descrizione del programma

Proxy-List-Scrapper​

Proxy List Scrapper from various websites. They gives the free proxies for temporary use.

Usage​


Download