Spraying in private gardens are normally not to be recommended and especially not in vegetables.
You are allowed to spray with a malathion product, but not closer to harvest than one week.
If you have serious infestation in the autumn, it can be an idea to sow parsley late in the summer, to have good supply the next season.
If you want to read more about aphids in general, please check out
: bladluseng.htm