Login Register






Tutorial Python Proxy Switcher basic tutorial filter_list
Author
Message
RE: Python Proxy Switcher basic tutorial #7
(07-01-2019, 04:39 AM)Leviathan Wrote: @Sartux you could add something like this:

Add to top of the code:
Code:
path = 'list.txt'

Replace:
Code:
PROXY_LIST = ['1.10.240.135:8080', '101.109.142.5:8080', '177.124.16.178:45817', '101.109.110.221:8080']

with:
Code:
    file = open(path, "r")     for line in file:     print(line, end="")

makes it easier to store bigger numbers of proxies Smile.

Yes it's a good way to add more - I made this as simple as possible so people could learn but there's much more they could do (like threading, capturing lag etc.) if they wanted to.

[+] 1 user Likes Sartux's post
Reply





Messages In This Thread
Python Proxy Switcher basic tutorial - by Sartux - 05-15-2019, 10:57 AM
RE: Python Proxy Switcher basic tutorial - by Sartux - 07-01-2019, 03:59 PM