Minecraft wiki entry for Things_not_to_do, associated text: While there were historically different ways to obtain spawners as items legitimately in Survival, the majority of players create worlds in much newer versions, and as such, actually obtaining a spawner by breaking it is no longer possible in said new versions.