README.md in yasuri-3.2.0 vs README.md in yasuri-3.3.0

- old
+ new

@@ -79,16 +79,12 @@ } } EOJSON root = Yasuri.json2tree(src) - # Execution and getting scraped result -agent = Mechanize.new -root_page = agent.get("http://some.scraping.page.tac42.net/") - -result = root.inject(agent, root_page) +result = root.scrape("http://some.scraping.page.tac42.net/") # => [ # {"title" => "PageTitle 01", "content" => "Page Contents 01" }, # {"title" => "PageTitle 02", "content" => "Page Contents 02" }, # ... # {"title" => "PageTitle N", "content" => "Page Contents N" } @@ -102,11 +98,12 @@ $ yasuri help scrape Usage: yasuri scrape <URI> [[--file <TREE_FILE>] or [--json <JSON>]] Options: - f, [--file=FILE] # path to file that written yasuri tree as json or yaml - j, [--json=JSON] # yasuri tree format json string + f, [--file=FILE] # path to file that written yasuri tree as json or yaml + j, [--json=JSON] # yasuri tree format json string + i, [--interval=N] # interval each request [ms] Getting from <URI> and scrape it. with <JSON> or json/yml from <TREE_FILE>. They should be Yasuri's format json or yaml string. ``` Example