Don't have Telegram yet? Try it now!
https://eureka.ykyuen.info/2015/03/31/python-open-url-with-http-authentication-using-urllib2/
Python - Open URL with HTTP Authentication using urllib2