In the current study, a novel adsorbant includes an N-riched maleic hydrazide-bridged triazine-based covalent organic polymer was synthesized. Various characterizations were used such as fourier transform infrared analysis, field emission scanning electron microscopy, energy dispersive spectroscopy and elemental mapping, X-ray diffraction, and thermogravimetry analysis. Nickel-chrome wires were coated by the prepared adsorbance to make fibers for using in solid-phase microextraction. The fibers were used for extraction and determination of 1,2-dichlorobenzene, 1,4-dichlorobenzene, 1,2,3-trichlorobenzene, 1,2,4-trichlorobenzene, and 1,2,3,4-tetrachlorobenzene in water samples. Different parameters were optimized to inhance the extraction efficiency, such as extraction temperature and time, the ionic strength of the solution, temperature, and desorption time. In order to determine analytes the gas chromatography with an electron capture detector was used. Under the optimized conditions, detection limits in the range of 0.25-28 ng L-1 were obtained. Relative standard deviations were in the range of 3 to 7%