One-pot preparation of environmentally friendly, high demulsification rate and novel functional magnetic demulsifier: used for oil and water separation in crude oil emulsion