Skip to content

Commit be12d44

Browse files
authored
Update README.md
Update example for bySiteStructure filenameGenerator
1 parent 2d7a193 commit be12d44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ When the `byType` filenameGenerator is used the downloaded files are saved by ty
169169

170170
###### bySiteStructure
171171
When the `bySiteStructure` filenameGenerator is used the downloaded files are saved in `directory` using same structure as on the website:
172-
- `/` => `DIRECTORY/index.html`
173-
- `/about` => `DIRECTORY/about/index.html`
174-
- `/resources/javascript/libraries/jquery.min.js` => `DIRECTORY/resources/javascript/libraries/jquery.min.js`
172+
- `/` => `DIRECTORY/example.com/index.html`
173+
- `/about` => `DIRECTORY/example.com/about/index.html`
174+
- `//cdn.example.com/resources/jquery.min.js` => `DIRECTORY/cdn.example.com/resources/jquery.min.js`
175175

176176
```javascript
177177
// Downloads all the crawlable files. The files are saved in the same structure as the structure of the website

0 commit comments

Comments
 (0)