Git Product home page Git Product logo

pyproxyhunter's People

Contributors

kir64 avatar kirillmarchenko avatar volnova avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pyproxyhunter's Issues

Issu found probably on progress bar

hello,

Issu found probably on progress bar, stop ramdomly at the biginning of the progress bar when you try to check proxy only with input file :

add this line at 235 remove comment

        # List_to_check = open(os.path.abspath("output3.txt"), "r")
         # lines = List_to_check.readlines()
         # Proxies = []
         # for i in lines:
           # Proxies.append(i.rstrip('\n'))
         # Proxies = set(Proxies)
         # live_proxies = self.check_proxies_multi_thread(Proxies)

env : Python37-32, windows 7x64, Cmder mini

Thanks to kir for is answere and this great PyProxyhunter.

awesome

That's awesome! Thank you!

Add progress bar

At the moment there is no way to understand how much work done, would be great to see some progress bar to understand if you have got a couple of minutes for sex or ten minutes for coffee.

It'd be useful to see how much good proxies are found already in order to make decision if you are ready to Ctrl-C the script.

Handle KeyboardInterrupt

I think it'd be great to handle KeyboardInterrupt in order to be able to return some useful data if running takes too long and you do not want to wait. Alternatively you can just add timeout parameter and finish scraping if processing time reaches the value passed into the script. You can even combine the both.

Add command line arguments (e.g. country)

Sometimes I'd like to find proxy from a particular county or on a particular port and I do not want to waste my time waiting while the script checks all the found proxies. Could we add a couple of arguments?

Also we could pass into the script the number of proxies which satisfies us and break the execution if we've found enough.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.