• Always report not working content or content with broken links! We will delete them.

    Use the FILTER (keywords) or SEARCH to get your wanted content more easily.

Working HTTP/HTTPS proxies grabber

1

anukulx36

55
Message
3
Likes

Member
Zombies
Credits
14⚡️
When you run the below program it will generate a list of working proxies for http/https:
Paste the following code in any file and save it as gen.py

# MODULES
import requests
from colorama import Fore
from bs4 import BeautifulSoup
# CONSTANTS
proxies=[]
# FUNCTIONS
def generate_banner():
print(Fore.GREEN+'Proxy List Generator')
print()

# DEPENDENICIES
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0'}
# MAIN
# BANNER
generate_banner()
res = requests.get('https://free-proxy-list.net')
content = BeautifulSoup(res.text, 'lxml')
table = content.find('table')
rows = table.find_all('tr')
cols = [[col.text for col in row.find_all('td')] for row in rows]
print(Fore.GREEN+'Seaching working proxies for you ....')
for col in cols:
try:
if(col[4]=='elite proxy' and col[6]=='yes'):
proxies.append(col[0]+':'+col[1])
except:
pass
print()
print('Writing proxies in p.txt ')
with open('p.txt','w') as f:
for proxy in proxies:

f.write(proxy+'\n')
 
Top Bottom
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock