Skip to content

Bitwise-01/Proxies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

A simple proxy scraper

Get ten random proxies

from scraper import Scraper    


if __name__ == '__main__':
scraper = Scraper()    
proxies = scraper.scrape(size=10)  

while proxies.qsize:
proxy = proxies.get()
print(proxy)

Get proxies from Japan

from scraper import Scraper


if __name__ == '__main__':
 scraper = Scraper()    
 proxies = scraper.scrape(country='Japan')
    
 while proxies.qsize:
  proxy = proxies.get()
  print(proxy)

Get three proxies from Japan

from scraper import Scraper


if __name__ == '__main__':
 scraper = Scraper()    
 proxies = scraper.scrape(country='Japan', size=3)
    
 while proxies.qsize:
  proxy = proxies.get()
  print(proxy)

Get SSL proxies

from scraper import Scraper


if __name__ == '__main__':
 scraper = Scraper()    
 proxies = scraper.scrape(protocol='SSL')
    
 while proxies.qsize:
  proxy = proxies.get()
  print(proxy)

Get SOCKS5 proxies

from scraper import Scraper


if __name__ == '__main__':
 scraper = Scraper()    
 proxies = scraper.scrape(protocol='SOCKS5')
    
 while proxies.qsize:
  proxy = proxies.get()
  print(proxy)

Get proxies on port 8080

from scraper import Scraper


if __name__ == '__main__':
 scraper = Scraper()    
 proxies = scraper.scrape(port=8080)
    
 while proxies.qsize:
  proxy = proxies.get()
  print(proxy)

About

A Simple Proxy Scraper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages