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.
pip install unityproxy
from unityproxy import UnityProxy
unity = UnityProxy()
unity.from_.txt_file("proxies.txt", "http")
unity.from_.json_file("proxies.json", "http")
unity.to.list()
unity.to.queue()
proxy: unityproxy.Proxy = unity[0]
for proxy in unity:
proxy: unityproxy.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