By following links and parsing HMTL documents returned from server.