Skip to content

Commit 03d9232

Browse files
committed
fix typos in README and command-line tool help. closes #38
1 parent 9d2f825 commit 03d9232

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ To list available templates from a scraper::
101101

102102
To 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>'

scrapely/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)