Skip to main content

Free proxy list for python!

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maoproxy-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maoproxy-0.0.1-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file maoproxy-0.0.1.tar.gz.

File metadata

  • Download URL: maoproxy-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for maoproxy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 633b1984cea3526e22964f211f32c31cd0098eee2990fc3f93a73221265d8345
MD5 d760a793f80d8af512bcddeb8ea821b0
BLAKE2b-256 dec2ab8ff724c8aada0e94349cb564046114175d860d0ffde28b3bc24a8fdb1e

See more details on using hashes here.

File details

Details for the file maoproxy-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: maoproxy-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for maoproxy-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f76f75091181f3fe4eeb4077fed833ce611ffb9158acd27d82a8619edd7fd7d8
MD5 58ce63f818276e72400ef50f6688592d
BLAKE2b-256 a90d36afa9b9ca0cf6f24a5239b0d183e92f4211760b92afb5724523df04a06d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page