mirror of https://github.com/scrapy/scrapy.git
remove "for brevity's sake" line and correct "Torrent item"
Torrent item -> TorrentItem class
This commit is contained in:
parent
a3db95985b
commit
85a80d0752
|
|
@ -155,8 +155,7 @@ Finally, here's the spider code::
|
|||
torrent['size'] = sel.xpath("//div[@id='info-left']/p[2]/text()[2]").extract()
|
||||
return torrent
|
||||
|
||||
For brevity's sake, we intentionally left out the import statements. The
|
||||
Torrent item is :ref:`defined above <intro-overview-item>`.
|
||||
The ``TorrentItem`` class is :ref:`defined above <intro-overview-item>`.
|
||||
|
||||
Run the spider to extract the data
|
||||
==================================
|
||||
|
|
|
|||
Loading…
Reference in New Issue