try except urlopen
Made Google Image Search work by opening a new window