Synthesis of polymers containing 1,2,4‐oxadiazole as an electron‐acceptor moiety in their main chain and their solar cell applications