Replaced urllib by requests module