Python web crawler crawls the entire webpage