Skip to content

Commit 76cd1ce

Browse files
committed
README: added annotation example using quotes. closes #40
1 parent 03d9232 commit 76cd1ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ To add a new annotation, you usually test the selection criteria first::
106106
[1] u'<h1>w3lib 1.1</h1>'
107107
[2] u'<title>Python Package Index : w3lib 1.1</title>'
108108
109+
You can also quote the text, if you need to specify an arbitrary number of
110+
spaces, for example::
111+
112+
scrapely> t 0 "w3lib 1.1"
113+
109114
You can refine by position. To take the one in position [1]::
110115

111116
scrapely> a 0 w3lib 1.1 -n 1

0 commit comments

Comments
 (0)