File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ To list available templates from a scraper::
101101
102102To add a new annotation, you usually test the selection criteria first::
103103
104- scrapely> a 0 w3lib 1.1
104+ scrapely> t 0 w3lib 1.1
105105 [0] u'<a href="/pypi/w3lib/1.1">w3lib 1.1</a>'
106106 [1] u'<h1>w3lib 1.1</h1>'
107107 [2] u'<title>Python Package Index : w3lib 1.1</title>'
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def do_td(self, template_id):
4040 print "template not found: %s" % template_id
4141
4242 def do_t (self , line ):
43- """ts <template> <text> - test selection text"""
43+ """t <template> <text> - test selection text"""
4444 template_id , criteria = line .split (' ' , 1 )
4545 t = self ._load_template (template_id )
4646 criteria = parse_criteria (criteria )
You can’t perform that action at this time.
0 commit comments