Skip to main content

MAO _ PROXY

VERSION : 0.0.1

Author Language Opensource

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

GET US IN CLICK

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)

Source distribution for maoproxy 0.0.1
File Size Uploaded
maoproxy-0.0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maoproxy 0.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page