Simple http proxy grabber and checker
Project description
# Proxy-Grabber
Simple http proxy grabber and checker
# Installation
```
$ pip3 install proxy-grabber
```
# Usage
``` python
import ProxyGrabber
grabber = ProxyGrabber('./data/useragents.list') # File with user-agents
# --- Adding proxies ---
# Parse proxy from different sources
# You can call generate_proxy_list() without arguments if you want to grab as more proxies as possible
grabber.grab_proxies(proxy_limit=100)
# [optional]
# Also you can add some proxies from file
grabber.load_proxies('./data/proxy.list')
# [optional]
# Or you can add proxy manually
grabber.add_proxies(['ip:port', 'ip:port', ...])
# --- Checking proxies ---
grabber.check_proxies()
# --- Get results ---
grabber.get_proxy() # Random checked proxy
grabber.get_checked_proxies() # All checked proxies
grabber.save_proxies('./data/checked_proxies.list') # Save checked proxies to file
```
Simple http proxy grabber and checker
# Installation
```
$ pip3 install proxy-grabber
```
# Usage
``` python
import ProxyGrabber
grabber = ProxyGrabber('./data/useragents.list') # File with user-agents
# --- Adding proxies ---
# Parse proxy from different sources
# You can call generate_proxy_list() without arguments if you want to grab as more proxies as possible
grabber.grab_proxies(proxy_limit=100)
# [optional]
# Also you can add some proxies from file
grabber.load_proxies('./data/proxy.list')
# [optional]
# Or you can add proxy manually
grabber.add_proxies(['ip:port', 'ip:port', ...])
# --- Checking proxies ---
grabber.check_proxies()
# --- Get results ---
grabber.get_proxy() # Random checked proxy
grabber.get_checked_proxies() # All checked proxies
grabber.save_proxies('./data/checked_proxies.list') # Save checked proxies to file
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxy-grabber-1.0.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for proxy_grabber-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b56e715539e73128a08b784f9859481b5c60a0a395c0d377147da466735da0 |
|
MD5 | 3c423c94f545acb2e59ccc776a80b3db |
|
BLAKE2b-256 | 05e3f122621c7bf0f05ed411f0275b37d25c951b601b45b9281465c0642f06b0 |