Place a pump next to a miner and it will enable the miner to extract liquids.
You will need Cells in the pump and a chest nearby.
A miner with adjacent pump will ONLY actively scan for lava blocks... if it hit's water, it will just pierce through and ignore it (as i don't see a point in harvesting water, it's infinitely avaible either way).
I like to make auto fillers.