Changed urllib3 -> urllib2 libraries and also one small thing about permission that didnt work for me