My combat survival instructors tell their students never to eat spiders. Most of them will cause you more harm than good. Or enough of them that you don't want to mess with the few that are ok, I guess.
Anything with six legs is an insect, and almost always safe to eat.
Anything with eight legs is (probably) an arachnid and not recommended.
Anything with more than that is definitely not a good idea.