You're right, spider mites are not insects but arachnids.
However, many/most insecticides work against mites because, while not identical they are very similar in many aspects.
In fact, many insecticides are formulated to be equally effective against both (check the label).
Imo, the only way...