Skip to content

Commit

Permalink
Update proxyformat.py
Browse files Browse the repository at this point in the history
Final release
  • Loading branch information
usethisname1419 authored Mar 30, 2023
1 parent fbbf264 commit 17a7c8d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions proxyformat.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import string

file = "proxys.txt"
print("Easy Proxy List Formatter - By Derek Johnston")
Expand All @@ -10,11 +11,20 @@

with open(file, 'r') as fp:
ips = [socks.join(['', x.replace(':', ' ')]) for x in fp.readlines()]

with open(file, 'w') as fp:
ips.append(oauth)

fp.writelines(ips)

with open(file, 'r') as istr:
with open('output.txt', 'w') as ostr:
for line in istr:
line = line.rstrip('\n') + oauth
print(line, file=ostr)







Expand Down

0 comments on commit 17a7c8d

Please sign in to comment.