scrapy/docs/index.rst

5.8 KiB

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

Scrapy |version| 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
   intro/examples

:doc:`intro/overview`

System Message: ERROR/3 (<stdin>, line 39); 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 42); 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.

:doc:`intro/examples`

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

Unknown interpreted text role "doc".

Learn more by playing with a pre-made Scrapy project.

Basic concepts

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

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/commands
   topics/spiders
   topics/selectors
   topics/items
   topics/loaders
   topics/shell
   topics/item-pipeline
   topics/feed-exports
   topics/request-response
   topics/link-extractors
   topics/settings
   topics/exceptions


:doc:`topics/commands`

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

Unknown interpreted text role "doc".

Learn about the command-line tool used to manage your Scrapy project.

:doc:`topics/spiders`

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

Unknown interpreted text role "doc".

Write the rules to crawl your websites.

:doc:`topics/selectors`

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

Unknown interpreted text role "doc".

Extract the data from web pages using XPath.

:doc:`topics/shell`

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

Unknown interpreted text role "doc".

Test your extraction code in an interactive environment.

:doc:`topics/items`

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

Unknown interpreted text role "doc".

Define the data you want to scrape.

:doc:`topics/loaders`

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

Unknown interpreted text role "doc".

Populate your items with the extracted data.

:doc:`topics/item-pipeline`

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

Unknown interpreted text role "doc".

Post-process and store your scraped data.

:doc:`topics/feed-exports`

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

Unknown interpreted text role "doc".

Output your scraped data using different formats and storages.

:doc:`topics/request-response`

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

Unknown interpreted text role "doc".

Understand the classes used to represent HTTP requests and responses.

:doc:`topics/link-extractors`

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

Unknown interpreted text role "doc".

Convenient classes to extract links to follow from pages.

:doc:`topics/settings`

System Message: ERROR/3 (<stdin>, line 103); 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 103); backlink

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

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

Unknown interpreted text role "doc".

See all available exceptions and their meaning.

Built-in services

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

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/logging
   topics/stats
   topics/email
   topics/telnetconsole
   topics/webservice

:doc:`topics/logging`

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

Unknown interpreted text role "doc".

Understand the simple logging facility provided by Scrapy.

:doc:`topics/stats`

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

Unknown interpreted text role "doc".

Collect statistics about your scraping crawler.

:doc:`topics/email`

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

Unknown interpreted text role "doc".

Send email notifications when certain events occur.

:doc:`topics/telnetconsole`

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

Unknown interpreted text role "doc".

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

:doc:`topics/webservice`

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

Unknown interpreted text role "doc".

Monitor and control a crawler using a web service.

Solving specific problems

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

Unknown directive type "toctree".

.. toctree::
   :hidden:

   faq
   topics/debug
   topics/contracts
   topics/practices
   topics/broad-crawls
   topics/firefox
   topics/firebug
   topics/leaks
   topics/images
   topics/ubuntu
   topics/deploy
   topics/autothrottle
   topics/benchmarking
   topics/jobs
   topics/djangoitem

:doc:`faq`

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

Unknown interpreted text role "doc".

Get answers to most frequently asked questions.

:doc:`topics/debug`

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

Unknown interpreted text role "doc".

Learn how to debug common problems of your scrapy spider.

:doc:`topics/contracts`

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

Unknown interpreted text role "doc".

Learn how to use contracts for testing your spiders.

:doc:`topics/practices`

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

Unknown interpreted text role "doc".

Get familiar with some Scrapy common practices.

:doc:`topics/broad-crawls`

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

Unknown interpreted text role "doc".

Tune Scrapy for crawling a lot domains in parallel.

:doc:`topics/firefox`

System Message: ERROR/3 (<stdin>, line 175); 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 178); backlink

Unknown interpreted text role "doc".

Learn how to scrape efficiently using Firebug.

:doc:`topics/leaks`

System Message: ERROR/3 (<stdin>, line 181); 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 184); backlink

Unknown interpreted text role "doc".

Download static images associated with your scraped items.

:doc:`topics/ubuntu`

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

Unknown interpreted text role "doc".

Install latest Scrapy packages easily on Ubuntu

:doc:`topics/deploy`

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

Unknown interpreted text role "doc".

Deploying your Scrapy spiders and run them in a remote server.

:doc:`topics/autothrottle`

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

Unknown interpreted text role "doc".

Adjust crawl rate dynamically based on load.

:doc:`topics/benchmarking`

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

Unknown interpreted text role "doc".

Check how Scrapy performs on your hardware.

:doc:`topics/jobs`

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

Unknown interpreted text role "doc".

Learn how to pause and resume crawls for large spiders.

:doc:`topics/djangoitem`

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

Unknown interpreted text role "doc".

Write scraped items using Django models.

Extending Scrapy

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

Unknown directive type "toctree".

.. toctree::
   :hidden:

   topics/architecture
   topics/downloader-middleware
   topics/spider-middleware
   topics/extensions
   topics/api
   topics/signals
   topics/exporters


:doc:`topics/architecture`

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

Unknown interpreted text role "doc".

Understand the Scrapy architecture.

:doc:`topics/downloader-middleware`

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

Unknown interpreted text role "doc".

Customize how pages get requested and downloaded.

:doc:`topics/spider-middleware`

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

Unknown interpreted text role "doc".

Customize the input and output of your spiders.

:doc:`topics/extensions`

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

Unknown interpreted text role "doc".

Extend Scrapy with your custom functionality

:doc:`topics/api`

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

Unknown interpreted text role "doc".

Use it on extensions and middlewares to extend Scrapy functionality

:doc:`topics/signals`

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

Unknown interpreted text role "doc".

See all available signals and how to work with them.

:doc:`topics/exporters`

System Message: ERROR/3 (<stdin>, line 241); 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 246)

Unknown directive type "toctree".

.. toctree::
   :hidden:

   news
   contributing
   versioning
   experimental/index

:doc:`news`

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

Unknown interpreted text role "doc".

See what has changed in recent Scrapy versions.

:doc:`contributing`

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

Unknown interpreted text role "doc".

Learn how to contribute to the Scrapy project.

:doc:`versioning`

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

Unknown interpreted text role "doc".

Understand Scrapy versioning and API stability.

:doc:`experimental/index`

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

Unknown interpreted text role "doc".

Learn about bleeding-edge features.

Docutils System Messages

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

Undefined substitution referenced: "version".
</html>