Python crawler implements four or six levels of query