Heat 1 tablespoon oil in a large nonstick pan over medium-high heat. Add shallot and cook, stirring often, until softened, about 1 minute. Add spinach in batches and cook, stirring, until wilted, 3 to 5 minutes. Stir in dill, parsley, garlic and pepper. Cook, stirring, for 1 minute. Transfer the spinach mixture to a large mixing bowl. Stir in ricotta and feta.