Does not work if the input URL doesn't begin with http://