Added an exception if there's a blank url - closes #5 (hopefully)