Sign in to follow this  
Astro1111

Simple Proxy List Maker [Python Source]

Recommended Posts

I made a REALLY simple proxy list maker in Python.

 

[hide]

Instructions:

It uses https://free-proxy-list.net/ so all you have to do is go on the site, copy the table into input.txt and run the program and output.txt is your final list. I'm sure just by the way this works it will work on more sites than the one I listed but I can assure you it at least works on this site. Also the main program needs to be in the same directory as input.txt for this to work.

 

Code:

fin = open('input.txt', 'r')
fout = open('output.txt', 'w')

for line in fin:
   splitLine = line.split()
   fout.write(f"{splitLine[0]}:{splitLine[1]}\n")

[/hide]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this