knadh / tg-archive

A tool for exporting Telegram group chats into static websites like mailing list archives.
MIT License
829 stars 121 forks source link

Fix proxy support in windows #108

Open CodyNotFound opened 1 year ago

CodyNotFound commented 1 year ago

Setting the proxy on windows doesn't work.

socks.SOCKS4 = 1 socks.SOCKS5 = 2 socks.HTTP = 3

upstream issue: https://github.com/LonamiWebs/Telethon/issues/3962 telethon document: https://docs.telethon.dev/en/stable/basic/signing-in.html?highlight=proxy#signing-in-behind-a-proxy

knadh commented 11 months ago

Does this work if the proxy.protocol in the YAML config is set to 1 instead of socks4 for example?