As soon as I saw the photo I thought it was Knaresborough. Quick look on Street View and the pub is the former Market Hotel, now Tavern. The windows and brickwork on the buildings are all pretty much identical, especially the interlocking on the pub. This is the closest view on Street View that you can get. Parvins is the shop on the right, again with identical brickwork and windows.