opportunistic feeding

a type of foraging in which an animal feeds on a wide variety of prey and is able to adapt to whatever food becomes available.