Any military ship can be equipped with extractors. Once done, you can click on a planet and have it extract resources.
Once it is full, it will return automatically to nearest spaceport. This is where resources don't match for me, I get around half of the cargo hold each time, not more. Still very handy but that's a mystery.
Note to Erik or Elliot... Please by all mean don't remove this feature to help a bit the civilian system with some focused micro managing. Please, really don't do that. I would even dare ask to be able to do more, like having an order 'empty cargo hold' for ships, so they dump out whatever is in their cargo, sometime we want to get rid of leftover resources, even on constructors and we can't.
AGEOD Team - Lead Developer
Check our historical strategy games on Napoleon, the Great War, the American Civil War, War of American Independence and others!