Skip to content

mrsmori/unityproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Proxy

This tool will allow you to quickly start using proxies in your projects. The main task of this library is to solve problems of parsing proxies of different formats and their subsequent conversion to the required format.

Install

From PYPI

pip install unityproxy

Using

Import

from unityproxy import UnityProxy


unity = UnityProxy()

Parse

unity.from_.txt_file("proxies.txt", "http")
unity.from_.json_file("proxies.json", "http")

Convert

unity.to.list()
unity.to.queue()

Iter

proxy: unityproxy.Proxy = unity[0]

for proxy in unity:
    proxy: unityproxy.Proxy

Convert proxy

Create enhancement issue to add new conver

prx.to.aiohttp_line()
prx.to.httpx_dict()
prx.to.httpx_line()
prx.to.pyrogram()
prx.to.telethon()
prx.to.requests()
# etc

About

This tool will allow you to quickly start using proxies in your projects. The main task of this library is to solve problems of parsing proxies of different formats and their subsequent conversion to the required format.

Topics

Resources

Stars

Watchers

Forks

Used by

Contributors

Languages