Basics of a small scale web crawler written in python