-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom JSON name and latest dependencies
- Loading branch information
1 parent
3ec5fee
commit 4c106e7
Showing
5 changed files
with
4,346 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
import { Config } from "./src/config"; | ||
|
||
let protocol = "https://www."; | ||
let domain = "builder"; | ||
let tld = ".io"; | ||
let extra = "/c/docs/developers"; | ||
let content = "/c/docs" | ||
let rest = "/**"; | ||
|
||
export const defaultConfig: Config = { | ||
url: "https://www.builder.io/c/docs/developers", | ||
match: "https://www.builder.io/c/docs/**", | ||
url: protocol + domain + tld + extra, | ||
match: protocol + domain + tld + content + rest, | ||
maxPagesToCrawl: 50, | ||
outputFileName: "output.json", | ||
outputFileName: domain + ".json", | ||
}; |
Oops, something went wrong.