Metadata-Version: 2.1
Name: proxy-grabber
Version: 1.1.1
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: requests (>=2.20.0)
Requires-Dist: beautifulsoup4 (>=4.6.0)

# Proxy-Grabber
Simple http proxy grabber and checker

# Installation

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

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

# --- Grabbing 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)

# --- Adding proxies ---
# Notice: you can add proxies without grabbing
# You can add some proxies from the file
grabber.load('./data/proxy.list')

# Or you can add proxy manually
grabber.add_proxies(['ip:port', 'ip:port', ...])

# --- Checking proxies ---

# [optional]
# You can specify proxy countries
grabber.set_countries(['US', 'RU', 'CA', ...])

grabber.check_proxies()

# --- Get results ---
grabber.get_proxy() # Random checked proxy
grabber.get_checked_proxies() # All checked proxies
grabber.save('./data/checked_proxies.list') # Save checked proxies to the file
```



