summaryrefslogtreecommitdiff
path: root/js/template.js
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2023-08-31 22:02:23 +0200
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2023-08-31 22:02:23 +0200
commitc0ef0e7b99382164964be5404e76c759229c1268 (patch)
tree91f09a7a2e2f562bb90cd89a249a389f875d8183 /js/template.js
parentf97433948e0b136dac466661d5c897927a247355 (diff)
set default depth to 0
Diffstat (limited to 'js/template.js')
-rw-r--r--js/template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/template.js b/js/template.js
index 2079c5f..82196f0 100644
--- a/js/template.js
+++ b/js/template.js
@@ -2,7 +2,7 @@ import { parse } from 'flyscrape';
export const options = {
url: 'https://news.ycombinator.com/', // Specify the URL to start scraping from.
- depth: 1, // Specify how deep links should be followed. (default = 0, no follow)
+ depth: 0, // Specify how deep links should be followed. (default = 0, no follow)
allowedDomains: [], // Specify the allowed domains. ['*'] for all. (default = domain from url)
blockedDomains: [], // Specify the blocked domains. (default = none)
allowedURLs: [], // Specify the allowed URLs as regex. (default = all allowed)