In a food processor, combine the egg yolks and vinegar; whirl to blend. With the machine on, add the olive oil in a slow, steady stream. Scrape into a small bowl. Stir in the parsley and shallots. Season with salt and pepper to taste. The sauce is best prepared several hours in advance.