scrapy/docs/index.rst

4.3 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Scrapy documentation

This documentation contains everything you need to know about Scrapy.

Getting help

Having trouble? We'd like to help!

First steps

System Message: ERROR/3 (<stdin>, line 30)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   intro/overview
   intro/install
   intro/tutorial

:doc:`intro/overview`

System Message: ERROR/3 (<stdin>, line 38); backlink

Unknown interpreted text role "doc".

Understand what Scrapy is and how it can help you.

:doc:`intro/install`

System Message: ERROR/3 (<stdin>, line 41); backlink

Unknown interpreted text role "doc".

Get Scrapy installed on your computer.

:doc:`intro/tutorial`

System Message: ERROR/3 (<stdin>, line 45); backlink

Unknown interpreted text role "doc".

Write your first Scrapy project.

Scraping basics

System Message: ERROR/3 (<stdin>, line 50)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/items
   topics/spiders
   topics/link-extractors
   topics/selectors
   topics/loaders
   topics/shell
   topics/item-pipeline

:doc:`topics/items`

System Message: ERROR/3 (<stdin>, line 62); backlink

Unknown interpreted text role "doc".

Define the data you want to scrape.

:doc:`topics/spiders`

System Message: ERROR/3 (<stdin>, line 65); backlink

Unknown interpreted text role "doc".

Write the rules to crawl your websites.

:doc:`topics/selectors`

System Message: ERROR/3 (<stdin>, line 68); backlink

Unknown interpreted text role "doc".

Extract the data from web pages.

:doc:`topics/shell`

System Message: ERROR/3 (<stdin>, line 71); backlink

Unknown interpreted text role "doc".

Test your extraction code in an interactive environment.

:doc:`topics/loaders`

System Message: ERROR/3 (<stdin>, line 74); backlink

Unknown interpreted text role "doc".

Populate your items with the extracted data.

:doc:`topics/item-pipeline`

System Message: ERROR/3 (<stdin>, line 78); backlink

Unknown interpreted text role "doc".

Post-process and store your scraped data.

Built-in services

System Message: ERROR/3 (<stdin>, line 83)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/logging
   topics/stats
   topics/email
   topics/telnetconsole
   topics/webconsole

:doc:`topics/logging`

System Message: ERROR/3 (<stdin>, line 93); backlink

Unknown interpreted text role "doc".

Understand the simple logging facility provided by Scrapy.

:doc:`topics/stats`

System Message: ERROR/3 (<stdin>, line 96); backlink

Unknown interpreted text role "doc".

Collect statistics about your scraping crawler.

:doc:`topics/email`

System Message: ERROR/3 (<stdin>, line 99); backlink

Unknown interpreted text role "doc".

Send email notifications when certain events occur.

:doc:`topics/telnetconsole`

System Message: ERROR/3 (<stdin>, line 102); backlink

Unknown interpreted text role "doc".

Inspect a running crawler using a built-in Python console.

:doc:`topics/webconsole`

System Message: ERROR/3 (<stdin>, line 106); backlink

Unknown interpreted text role "doc".

Monitor and control a crawler using a web interface.

Solving specific problems

System Message: ERROR/3 (<stdin>, line 111)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   faq
   topics/firefox
   topics/firebug
   topics/leaks
   topics/images

:doc:`faq`

System Message: ERROR/3 (<stdin>, line 121); backlink

Unknown interpreted text role "doc".

Get answers to most frequently asked questions.

:doc:`topics/firefox`

System Message: ERROR/3 (<stdin>, line 124); backlink

Unknown interpreted text role "doc".

Learn how to scrape with Firefox and some useful add-ons.

:doc:`topics/firebug`

System Message: ERROR/3 (<stdin>, line 127); backlink

Unknown interpreted text role "doc".

Learn how to scrape efficiently using Firebug.

:doc:`topics/leaks`

System Message: ERROR/3 (<stdin>, line 130); backlink

Unknown interpreted text role "doc".

Learn how to find and get rid of memory leaks in your crawler.

:doc:`topics/images`

System Message: ERROR/3 (<stdin>, line 133); backlink

Unknown interpreted text role "doc".

Download static images associated with your scraped items.

Extending Scrapy

System Message: ERROR/3 (<stdin>, line 138)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/architecture
   topics/downloader-middleware
   topics/spider-middleware
   topics/extensions

:doc:`topics/architecture`

System Message: ERROR/3 (<stdin>, line 147); backlink

Unknown interpreted text role "doc".

Understand the Scrapy architecture.

:doc:`topics/downloader-middleware`

System Message: ERROR/3 (<stdin>, line 150); backlink

Unknown interpreted text role "doc".

Customize how pages get requested and downloaded.

:doc:`topics/spider-middleware`

System Message: ERROR/3 (<stdin>, line 153); backlink

Unknown interpreted text role "doc".

Customize the input and output of your spiders.

:doc:`topics/extensions`

System Message: ERROR/3 (<stdin>, line 158); backlink

Unknown interpreted text role "doc".

Add any custom functionality using :doc:`signals <topics/signals>` and the Scrapy API

System Message: ERROR/3 (<stdin>, line 156); backlink

Unknown interpreted text role "doc".

Reference

System Message: ERROR/3 (<stdin>, line 163)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/scrapy-ctl
   topics/request-response
   topics/settings
   topics/signals
   topics/exceptions
   topics/exporters

:doc:`topics/scrapy-ctl`

System Message: ERROR/3 (<stdin>, line 174); backlink

Unknown interpreted text role "doc".

Understand the command used to control your Scrapy project.

:doc:`topics/request-response`

System Message: ERROR/3 (<stdin>, line 177); backlink

Unknown interpreted text role "doc".

Understand the classes used to represent HTTP requests and responses.

:doc:`topics/settings`

System Message: ERROR/3 (<stdin>, line 180); backlink

Unknown interpreted text role "doc".

Learn how to configure Scrapy and see all :ref:`available settings <topics-settings-ref>`.

System Message: ERROR/3 (<stdin>, line 180); backlink

Unknown interpreted text role "ref".
:doc:`topics/signals`

System Message: ERROR/3 (<stdin>, line 183); backlink

Unknown interpreted text role "doc".

See all available signals and how to work with them.

:doc:`topics/exceptions`

System Message: ERROR/3 (<stdin>, line 186); backlink

Unknown interpreted text role "doc".

See all available exceptions and their meaning.

:doc:`topics/exporters`

System Message: ERROR/3 (<stdin>, line 190); backlink

Unknown interpreted text role "doc".

Quickly export your scraped items to a file (XML, CSV, etc).

All the rest

System Message: ERROR/3 (<stdin>, line 195)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   api-stability
   experimental/index

:doc:`api-stability`

System Message: ERROR/3 (<stdin>, line 202); backlink

Unknown interpreted text role "doc".

Understand Scrapy versioning and API stability.

:doc:`experimental/index`

System Message: ERROR/3 (<stdin>, line 204); backlink

Unknown interpreted text role "doc".

Learn about bleeding-edge features.

</html>