

What you do need to worry about is that the capacitor is safe to use. All mains-rated capacitors have similar performance, and performance is basically only dependent on their capacitance value. You do not need to worry about the exact type of capacitor. Your application is mains filtering, which is not a precision or high-linearity application.

Note that both paper and film resistors have very large tolerances (20% is fairly standard over operating conditions), so it doesn't matter if the value is exactly spot-on. Make sure you use a value close or equal to the capacitor it's replacing.

Short answer is: get an X2 or Y2 capacitor (see below), these are almost always MKP (metallized polypropylene) film capacitors. As user EM Fields already suggested, I have already half-answered your question in the linked EE.SE post.
