Dye-sensitized solar cells based on D-π-A fluorescent dyes with two pyridyl groups as an electron-withdrawing-injecting anchoring group.