Digestion takes place both externally and internally. They only eat liquid food.

An excerpt from the article 28 facts about spiders

First, digestive juices are injected into the victim's body, which dissolves the victim's tissues, and the next stage of digestion takes place after the spider absorbs these tissues inside the digestive system.