The invention discloses an amphiphilic Lindqvist-type polyacid TiO2 composite nanofiber. A preparation method of the nanofiber comprises the following steps: (1) under magnetic stirring, adding a cetyltrimethylammonium bromide water solution into a Na2MoO6.2H2O water solution acidized by hydrochloric acid, heating, filtering, washing with water and diethyl ether, and drying; (2) dissolving butyl titanate and polyvinylpyrrolidone into a mixed solvent of N,N-dimethylformamide, glacial acetic acid and diacetone, and preparing a TiO2 nanofiber by virtue of an electrostatic spinning method; and (3)dispersing the TiO2 nanofiber into ethanol, and stirring, so as to obtain a solution A, dissolving surfactant-packaged Lindqvist-type polyacid into ethanol, stirring to obtain a solution B, slowly dropwise adding the solution B into the solution A, stirring, washing with water and ethanol, and carrying out vacuum drying, so as to obtain the composite nanofiber. The preparation method is simple; the agglomeration problem of polyacid is effectively solved; the composite nanofiber is easy to separate and recycle; and an extraction catalytic oxidation desulfurization system is formed by hydrogenperoxide and ionic liquid [Bmim]PF6, so that the utilization rate of hydrogen peroxide is increased, the desulfurization efficiency is high, and the reusability is good.