Predators exhibit flexible foraging to facilitate taking prey that offer important nutrients. Because trap-building predators have limited control over the prey they encounter, differential nutrient extraction and trap architectural flexibility may be used as a means of prey selection. Here, we tested whether differential nutrient extraction induces flexibility in architecture and stickiness of a spider's web by feeding Nephila pilipes live crickets (CC), live flies (FF), dead crickets with the web stimulated by flies (CD) or dead flies with the web stimulated by crickets (FD). Spiders in the CD group consumed less protein per mass of lipid or carbohydrate, and spiders in the FF group consumed less carbohydrates per mass of protein. Spiders from the CD group built stickier webs that used less silk, whereas spiders in the FF group built webs with more radii, greater catching areas and more silk, compared with other treatments. Our results suggest that differential nutrient extraction is a likely explanation for prey-induced spider web architecture and stickiness variations.