Homonuclear diatomic molecules (like H2, N2, Cl2,etc) have (3*2 - 5) = 1 fundamental vibration, that doesn't change the molecule dipole, so they will be IR inactive
The actual absorption values will be shifted and/or will give bands (instead of discrete lines) due to presence of rotational motions coupled with vibrational motions, overtones, and isotopic effect