A Python package to fetch usable proxies from the internet
Project description
HideMe 
HideMe is a python package for gathering usable proxies from free proxy webites can be installed via pip as follows.
pip install hideme
Documentation
Format of proxies returned by HideMe will be like this
[
{
"ip_address":"XX.XXX.XXX.XX",
"port":"XXXX",
"country_code":"DE",
"country":"Germany",
"anonymity":"anonymous",
"google_support":False,
"https":False
}
]
You can get the proxies like shown below
from hideme.proxy_collector import ProxiesList
proxy_list = ProxiesList()
proxy = proxy_list.get()
Output:
[
{
"ip_address":"88.198.50.103",
"port":"8080",
"country_code":"DE",
"country":"Germany",
"anonymity":"anonymous",
"google_support":False,
"https":False
}
]
You can get the required number of proxies by passing count param to the get method.
from hideme.proxy_collector import ProxiesList
proxies_list = ProxiesList()
proxies = proxies_list.get(count=2)
Output:
[
{
"ip_address":"88.198.50.103",
"port":"8080",
"country_code":"DE",
"country":"Germany",
"anonymity":"anonymous",
"google_support":False,
"https":False
},
{
"ip_address":"187.45.123.137",
"port":"36559",
"country_code":"BR",
"country":"Brazil",
"anonymity":"elite proxy",
"google_support":False,
"https":True
}
]
You can also filter out the returned proxies by passing the filter params to the ProxiesList class. Example usages:-
This will return only those proxies which are in Country - Spain
from hideme.proxy_collector import ProxiesList
proxies_list = ProxiesList(country='Spain')
proxies = proxies_list.get()
Output:
[
{
"ip_address":"185.44.232.30",
"port":"53281",
"country_code":"ES",
"country":"Spain",
"anonymity":"elite proxy",
"google_support":False,
"https":False
},
{
"ip_address":"82.223.3.52",
"port":"8118",
"country_code":"ES",
"country":"Spain",
"anonymity":"elite proxy",
"google_support":False,
"https":False
}
]
This will return only those proxies which are HTTPS supported
from hideme.proxy_collector import ProxiesList
proxies_list = ProxiesList(https=True)
proxies = proxies_list.get()
Output
[
{
"ip_address":"201.217.4.101",
"port":"53281",
"country_code":"PY",
"country":"Paraguay",
"anonymity":"elite proxy",
"google_support":False,
"https":True
},
{
"ip_address":"13.233.160.59",
"port":"80",
"country_code":"IN",
"country":"India",
"anonymity":"elite proxy",
"google_support":False,
"https":True
}
]
You can also combine multiple filter params like below
from hideme.proxy_collector import ProxiesList
proxies_list = ProxiesList(country='India',https=True,port='80',google_support=False)
proxies = proxies_list.get()
Output
[
{
"ip_address":"13.233.160.59",
"port":"80",
"country_code":"IN",
"country":"India",
"anonymity":"elite proxy",
"google_support":False,
"https":True
}
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 hideme-0.0.1.tar.gz.
File metadata
- Download URL: hideme-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2b95bb8e3f3d69c331ca9ca61d1519bd013b8041be03e56d2a412756c1b32f9
|
|
| MD5 |
d6346dc016b273e9311445476bfca10a
|
|
| BLAKE2b-256 |
5956c97cfae00cc358a959fa3cd03c39521965acefb06188e9fd4bd879897d2e
|
File details
Details for the file hideme-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hideme-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f95ecf05721bb56e1cc710c3c11caab559c2e852f0e7bda00cfcd89619e8df
|
|
| MD5 |
8c8bb2310f84f1cfc9a2372910188da5
|
|
| BLAKE2b-256 |
c62e563361cbee0ecc5704292fbab256d9787694c02bcae6dfff344b997fec67
|