Former U.S. Rep. Anthony Weiner has pleaded guilty to transmitting sexual material to a minor and could get years in prison. Weiner agreed Friday not to appeal any sentence between 21 and 27 months in prison.