Semiconducting polymers containing benzodithiophene with decyl phenylethynyl and hexadecyl phenylethynyl substituents have been synthesized by Stille coupling polymerization. The optoelectronic properties of the synthesized polymers have been investigated. The synthesized polymers were tested in bulk heterojunction solar cells.