MAO _ PROXY
VERSION : 0.0.1
THE MAIN AUTHOR OF THIS CODE MAO2116
REQUIREMENTS
PYTHON >=3.9.X+
PIP MODULE
REQUESTS
INSTALLATION
pip3 install maoproxy
IMPORT MODULE
from maoproxy import proxy
USE OF mproxy FUNCTION
proxy.mproxy(type="")
Here type mean your security method of your url it contains 4 types of security method http,https,socks5 and all
Example Code Of Using This Tool
Just a ip printer
from maoproxy import proxy
proxy.mproxy(type="https")
Realtime Example
import requests
from maoproxy import proxy
ip_addresses = proxy.mproxy(type="http")
def proxy_request(url):
for mao_proxy in ip_addresses:
try:
proxies = {"http": f"http://{mao_proxy}", "https": f"http://{mao_proxy}"}
response = requests.get(url, proxies=proxies, timeout=30)
print(f"Proxy currently being used: {mao_proxy}")
except Exception as mao:
print("Error, looking for another proxy")
proxy_request("http://your_url.mao/")
"""
Exmaple:
proxy_request("http://google.com")
"""
Copyright (c) 2021 MAO-COMMUNITY Under MIT LICENSE
Release files for maoproxy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maoproxy-0.0.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maoproxy-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / maoproxy-0.0.1.tar.gz
| Download URL | maoproxy-0.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
633b1984cea3526e22964f211f32c31cd0098eee2990fc3f93a73221265d8345
|
|
BLAKE2b-256 checksum How to use checksums |
dec2ab8ff724c8aada0e94349cb564046114175d860d0ffde28b3bc24a8fdb1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / maoproxy-0.0.1-py2.py3-none-any.whl
| Download URL | maoproxy-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f76f75091181f3fe4eeb4077fed833ce611ffb9158acd27d82a8619edd7fd7d8
|
|
BLAKE2b-256 checksum How to use checksums |
a90d36afa9b9ca0cf6f24a5239b0d183e92f4211760b92afb5724523df04a06d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|