A woman has been sent to hospital after being hit by a car in Harrogate.