2011-04-28 02:28:39 -03:00
|
|
|
.. _intro-examples:
|
|
|
|
|
|
|
|
========
|
|
|
|
Examples
|
|
|
|
========
|
|
|
|
|
2011-08-11 09:19:59 -03:00
|
|
|
The best way to learn is with examples, and Scrapy is no exception. For this
|
|
|
|
reason, there is an example Scrapy project named dirbot_, that you can use to
|
|
|
|
play and learn more about Scrapy. It contains the dmoz spider described in the
|
|
|
|
tutorial.
|
2011-04-28 02:28:39 -03:00
|
|
|
|
|
|
|
This dirbot_ project is available at: https://github.com/scrapy/dirbot
|
|
|
|
|
|
|
|
It contains a README file with a detailed description of the project contents.
|
|
|
|
|
|
|
|
If you're familiar with git, you can checkout the code. Otherwise you can
|
|
|
|
download a tarball or zip file of the project by clicking on `Downloads`_.
|
|
|
|
|
2011-09-25 13:06:24 -03:00
|
|
|
There is also a site for sharing code snippets such as spiders, middlewares,
|
|
|
|
extensions, or scripts, called `Scrapy snippets`_. Feel free to share any code
|
|
|
|
there.
|
2011-04-28 02:28:39 -03:00
|
|
|
|
|
|
|
.. _dirbot: https://github.com/scrapy/dirbot
|
|
|
|
.. _Downloads: https://github.com/scrapy/dirbot/archives/master
|
|
|
|
.. _Scrapy snippets: http://snippets.scrapy.org/
|