a simple spider written in python