Simple spider written in Python