Skip to content

Commit 7cc60db

Browse files
authored
Update generateFilename params
1 parent 050cdd0 commit 7cc60db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ Action generateFilename is called to determine path in file system where the res
343343

344344
Parameters - object which includes:
345345
* resource - [Resource](https://github.com/website-scraper/node-website-scraper/blob/master/lib/resource.js) object
346+
* responseData - object returned from afterResponse action, contains `url`, `mimeType`, `body`, `metadata` properties
346347

347348
Should return object which includes:
348349
* filename - String, relative to `directory` path for specified resource

0 commit comments

Comments
 (0)