Get a recent image if no images found for keyword

If no images are found for the given keyword instead of an error and
script breaking it will get a random recent image.
Accidently used Python3 code

Used urllib.request.urlopen by mistake instead of just urllib.urlopen as I
cherry picked the commit from the python3 branch without realising it
contained python3 specific parts.
Prevent it not glitching an image by mistake

Increase minimum repeats to 2 to ensure it always glitches
Merge pull request #3 from MatthewMiele/master

Get a recent image if no images found for keyword + always ensure a glitch.