From bd9e7f7acfd855d4685aa4544169c0e29cdbf205 Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Sun, 24 Sep 2023 23:36:00 +0200 Subject: clean up modules --- js/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/template.js') diff --git a/js/template.js b/js/template.js index 82196f0..1a030e5 100644 --- a/js/template.js +++ b/js/template.js @@ -1,6 +1,6 @@ import { parse } from 'flyscrape'; -export const options = { +export const config = { url: 'https://news.ycombinator.com/', // Specify the URL to start scraping from. depth: 0, // Specify how deep links should be followed. (default = 0, no follow) allowedDomains: [], // Specify the allowed domains. ['*'] for all. (default = domain from url) -- cgit v1.2.3