File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -93,20 +93,19 @@ To annotate some fields on the template::
9393
9494 scrapely> a 0 w3lib 1.0 -n 1 -f name
9595 [new] (name) u'<h1>w3lib 1.0</h1>'
96- scrapely> a 0 Scrapy project -n 1 -f author
97- [new] u'<span>Scrapy project <info at scrapy org> </span>'
96+ scrapely> a 0 Scrapy project -n 0 -f author
97+ [new] u'<span>Scrapy project</span>'
9898
9999To list annotations on a template::
100100
101101 scrapely> al 0
102102 [0-0] (name) u'<h1>w3lib 1.0</h1>'
103- [0-1] (author) u'<span>Scrapy project <info at scrapy org> </span>'
103+ [0-1] (author) u'<span>Scrapy project</span>'
104104
105105To scrape another similar page with the already added templates::
106106
107107 scrapely> s http://pypi.python.org/pypi/Django/1.3
108- [{u'author': [u'Django Software Foundation <foundation at djangoproject com>'],
109- u'name': [u'Django 1.3']}]
108+ [{u'author': [u'Django Software Foundation'], u'name': [u'Django 1.3']}]
110109
111110
112111Requirements
You can’t perform that action at this time.
0 commit comments