python Spider breadth-first