mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 14:33:17 +00:00

* logging: convert logger to a singleton to simplify use * add logger to create-login-profile.js
12 lines
348 B
JavaScript
12 lines
348 B
JavaScript
|
|
export const HTML_TYPES = ["text/html", "application/xhtml", "application/xhtml+xml"];
|
|
export const WAIT_UNTIL_OPTS = ["load", "domcontentloaded", "networkidle"];
|
|
export const BEHAVIOR_LOG_FUNC = "__bx_log";
|
|
export const MAX_DEPTH = 1000000;
|
|
|
|
export const DEFAULT_SELECTORS = [{
|
|
selector: "a[href]",
|
|
extract: "href",
|
|
isAttribute: false
|
|
}];
|
|
|