Another article I read said they did multiple samples from people and the attractive people were always attractive. They said it rules out soaps and recently eaten food, but I guess "extreme" diets of vegan or carnivore wouldn't change much over a few months.
The study did try to rule diet out though.