Afghan authorities say NATO and Afghan troops have retrieved the flight recorder from the wreckage of an Afghan airliner , ten days after the plane crashed into a mountain near Kabul .