File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
specs/crawler/common/schemas Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Action:
3232 It functions similarly to the `pathsToMatch` action but without record extraction.
3333
3434
35- `discoveryPatterns` uses [micromatch](https://github.com/micromatch/micromatch) to support matching with wildcards, negation, and other features.
35+ Uses [micromatch](https://github.com/micromatch/micromatch) to match wildcards, negation, and other features.
3636 The crawler adds all matching URLs to its queue.
3737 items :
3838 $ref : ' #/urlPattern'
@@ -217,6 +217,14 @@ pathAliases:
217217
218218
219219 The crawl continues from the _transformed_ URLs.
220+
221+
222+ For example, if you create a mapping for `{ "dev.example.com": { '/foo': '/bar' } }` and the crawler encounters `https://dev.example.com/foo/hello/`,
223+ it’s transformed to `https://dev.example.com/bar/hello/`.
224+
225+
226+ > Compare with the `hostnameAliases` action.
227+
220228 additionalProperties :
221229 type : object
222230 description : Hostname for which matching paths should be replaced.
You can’t perform that action at this time.
0 commit comments