Metadata-Version: 2.0
Name: proxy-grabber
Version: 1.0.3
Summary: Simple http proxy grabber and checker
Home-page: https://github.com/Ferluci/Proxy-Grabber
Author: Anischenko Konstantin
Author-email: anishenko00@gmail.com
License: UNKNOWN
Keywords: proxy grabber http proxy-grabber scrapper web
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4 (==4.6.0)
Requires-Dist: requests (==2.18.4)

# Proxy-Grabber
Simple http proxy grabber and checker

# Installation

```
$ pip3 install proxy-grabber
```

# Usage
``` python
from proxy_grabber import ProxyGrabber
grabber = ProxyGrabber()

# --- 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
```



