doc patch
This commit is contained in:
parent
6db8b61e4c
commit
7abfd68dfb
15
README
15
README
|
@ -18,6 +18,21 @@ sudo python setup.py install
|
|||
|
||||
from pyparsley import PyParsley
|
||||
|
||||
# Valid options (all are named arguments):
|
||||
#
|
||||
# Requires one of:
|
||||
# 'file' -- the input file path or url
|
||||
# 'string' -- the input string
|
||||
#
|
||||
# And optionally (default is the first listed value):
|
||||
# 'input' => ['html', 'xml']
|
||||
# 'output' => ['python', 'json', 'xml']
|
||||
# 'prune' => [true, false]
|
||||
# 'collate' => [true, false]
|
||||
# 'base' => 'http://some/base/href'
|
||||
# 'allow_net' => [true, false]
|
||||
# 'allow_local' => [true, false]
|
||||
|
||||
parselet = PyParsley({
|
||||
"title": "title",
|
||||
"links(a)": [
|
||||
|
|
Loading…
Reference in New Issue