To show a more complex example that you can take and adapt to your own needs, the Pipeline demo from the Pipeline folder implements a simple web spider. This code accepts a URL and retrieves all of the pages on that website.
This example is significantly more complicated than the pipeline concept I have discussed so far. It extracts data (URLs) from the retrieved pages and feeds them back into ...