Update main.py

errors - proxy is banned, need to handle this and change proxy
also check if proxy is really used