mirror of https://github.com/scrapy/scrapy.git
Merge pull request #362 from hmsimha/0.16
Scrapy 0.16 Overview doc issues: class definition name, and bad XPath description
This commit is contained in:
commit
c152682b91
|
|
@ -45,7 +45,7 @@ This would be our Item::
|
|||
|
||||
from scrapy.item import Item, Field
|
||||
|
||||
class Torrent(Item):
|
||||
class TorrentItem(Item):
|
||||
url = Field()
|
||||
name = Field()
|
||||
description = Field()
|
||||
|
|
@ -125,7 +125,7 @@ tag with ``id=specifications``::
|
|||
|
||||
.. highlight:: none
|
||||
|
||||
An XPath expression to select the description could be::
|
||||
An XPath expression to select the file size could be::
|
||||
|
||||
//div[@id='specifications']/p[2]/text()[2]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue