Skip to content

Commit 2e94785

Browse files
committed
Update README.md
1 parent 5fea74d commit 2e94785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Makes requests to `urls` and saves all files found with `sources` to `directory`
5959
**callback** - callback function *(optional)*, includes following parameters:
6060

6161
- `error`: if error - `Error` object, if success - `null`
62-
- `result`: if error - `null`, if success - array of objects containing:
62+
- `result`: if error - `null`, if success - array of [Resource](https://github.com/s0ph1e/node-website-scraper/blob/master/lib/resource.js) objects containing:
6363
- `url`: url of loaded page
6464
- `filename`: filename where page was saved (relative to `directory`)
65-
- `assets`: array of children resources (each of them contains `url`, `filename`, `assets`)
65+
- `children`: array of children Resources
6666

6767
### Filename Generators
6868
The filename generator determines where the scraped files are saved.

0 commit comments

Comments
 (0)