Skip to content

Commit 792d653

Browse files
committed
fix command line usage example
1 parent e83c813 commit 792d653

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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 &lt;info at scrapy org&gt;</span>'
96+
scrapely> a 0 Scrapy project -n 0 -f author
97+
[new] u'<span>Scrapy project</span>'
9898

9999
To 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 &lt;info at scrapy org&gt;</span>'
103+
[0-1] (author) u'<span>Scrapy project</span>'
104104

105105
To 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 &lt;foundation at djangoproject com&gt;'],
109-
u'name': [u'Django 1.3']}]
108+
[{u'author': [u'Django Software Foundation'], u'name': [u'Django 1.3']}]
110109

111110

112111
Requirements

0 commit comments

Comments
 (0)