Ikabot-Collective / ikabot

A Python-based bot designed for automating tasks in the game Ikariam
https://discord.com/invite/3hyxPRj
MIT License
97 stars 65 forks source link

Edit the format to add a proxy #239

Closed TheBarto666 closed 6 months ago

TheBarto666 commented 6 months ago

Now exist the posibilty to add a proxy, but it only on the format https://0.0.0.0:1111 or socks5://0.0.0.0:1111 Would be an good idea add the format hostname:port:username:password or similar, idk if that's possible.

I ask this because in my case I have a dynamic public IP, therefore if I want to add my personal IP to the proxy's white list, it changes every certain number of hours. However, if the format used is hostname:port:username:password, this would not happen, I think.

ikagod commented 6 months ago

Great suggestion. I think we might be able to get this implemented for 7.0.0, although it might be hard to test it because I have no proxies that require authentication.

TheBarto666 commented 6 months ago

If you need I can provide you my proxy to testing

ikagod commented 6 months ago

Use this format for proxies that require authentication: protocol://username:password@address:port