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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3d06b1c..3021c7f 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Below is an example scraping script that showcases the capabilities of **flyscra ```javascript import { parse } from 'flyscrape'; -export const options = { +export const config = { 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) allowedDomains: [], // Specify the allowed domains. ['*'] for all. (default = domain from url) -- cgit v1.2.3