The invention discloses a conjugated polymer containing cyclopentadiene dithiophene-thienopyrazine-thiophene, the general formula of its molecular structure is (I), in the formula, x+y+z=2, and x≥1 , 0<z<1, 0<y<1; n is an integer, and 1<n≤120; R1 is selected from C1~C20 alkyl; R2, R3 are selected from -H, C1~C20 alkyl, C1 ~C20 alkoxy, alkyl or alkoxy benzene ring group, alkyl fluorene group or alkyl carbazole group; R4, R5 are selected from -H, C1~C20 alkyl or C1 ~C20 alkoxyl. The copolymer has good solubility, carrier mobility, thermal stability, environmental stability, strong original potential, and structural modification. The preparation process of the polymer is simple, the yield is high, and it is easy to operate and control , and is suitable for fields such as solar cells.