Two n-type polymers P(PDI-BDT-Ph) and P(PDI-BDT-Th) with PDI as acceptor unit and BDT as donor unit were synthesized. The two polymer films possess the same LUMO level of −3.89 eV, and low bandgaps of 1.65 and 1.55 eV respectively. The all-PSCs based on PTB7-Th:P(PDI-BDT-Ph) showed a PCE of 4.31% with a Jsc of 11.94 mA cm−2 and a Voc of 0.81 V.