add: try/except for urlopen