thedemons / opentele

A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.
https://opentele.readthedocs.io/
MIT License
275 stars 92 forks source link

proxy param does not work #85

Open valinorq1 opened 1 year ago

valinorq1 commented 1 year ago

i need set proxy for each converted account(let's say i have 10 tdata and 10 http proxy) after i set proxy param and convert to .session i get same ip like i have on my pc, but not proxy ip.

client = await tdesk.ToTelethon(f"tdata\\{i}\\newSession.session", flag=CreateNewSession, proxy=(socks.HTTP, proxy_data['ip'], int(proxy_data['port"]), True, proxy_data["login"], proxy_data["password"]) )

phapntm commented 1 month ago

did you fix that? i have the same isssue