Use requests library instead of urlopen