Provided herein are metal organic frameworks comprising metal nodes and N-donor organic ligands which have high selectivity and stability in the present of gases and vapors including H2S, H2O, and CO2. Methods include capturing one or more of H2S, H2O, and CO2 from fluid compositions, such as natural gas.