some minor updates to doc

This commit is contained in:
Pablo Hoffman 2009-07-15 01:40:44 -03:00
parent 0723534655
commit 7f281cf295
3 changed files with 8 additions and 1 deletions

View File

@ -29,7 +29,7 @@ Or you can use your own class to represent items, just be sure it inherits from
More advanced items
===================
.. class:: scrapy.contrib_exp.newitem.Item(ScrapedItem)
.. class:: scrapy.contrib_exp.newitem.Item
Scrapy provides :class:`~scrapy.contrib_exp.newitem.Item` (a subclass of
:class:`~scrapy.item.ScrapedItem`) that works like a form with fields to store

View File

@ -20,3 +20,5 @@ This section documents the Scrapy |version| API. For more information see :ref:`
extensions
downloader-middleware
link-extractors
* :ref:`topics-stats-api`

View File

@ -4,6 +4,9 @@
Stats Collector
===============
Overview
========
Scrapy provides a convenient facility for collecting stats in the form of
key/values, both globally and per spider/domain. It's called the Stats
Collector, and it's a singleton which can be imported and used quickly, as
@ -75,6 +78,8 @@ Get all stats from a given domain::
>>> stats.get_stats('pages_crawled', domain='example.com')
{'pages_crawled': 1238, 'start_time': datetime.datetime(2009, 7, 14, 21, 47, 28, 977139)}
.. _topics-stats-api:
Stats Collector API
===================