use requests library instead of urllib