Shodan isn't a directory of webcams the same way Google isn't a directory of webcams. Shodan indexes metadata about all devices connected to the Internet, some of them are webcams. Compared to the rest of the index though they make up a tiny fraction of the data. Shodan also indexes light bulbs, refrigerators, power plants, Minecraft servers, Kubernetes clusters and anything else that runs on a port.