Proxy-Grabber
Simple http proxy grabber and checker
Installation
$ pip3 install proxy-grabber
Usage
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
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.1.1.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proxy-grabber-1.1.1.tar.gz.
File metadata
- Download URL: proxy-grabber-1.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abc88b4d80c6b67c30a40fa9703699d27ecc6bba2aa1f9db7f70d16d4ebb1fa3
|
|
| MD5 |
04bffcd82f7ea2ecb4c8a18d1adcd9ac
|
|
| BLAKE2b-256 |
9ee2f8f525a39f1290aea56351faeb5a1cf643f7a98a524e279d9063ccabb341
|
File details
Details for the file proxy_grabber-1.1.1-py3-none-any.whl.
File metadata
- Download URL: proxy_grabber-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02dd0cae8366247bd7ace7ad3ad46f6c58308d0082a75ca19c6f241269045e06
|
|
| MD5 |
121c306d95279110f307c0fd05f89036
|
|
| BLAKE2b-256 |
8d143a1567354700f31caab8d96d76e8860eeefb56ece351b184b84cc4fc5c8b
|