From 6cc19d5c412b8adc89092702d4bc21b416fc4fae Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Sat, 24 Feb 2024 13:59:29 +0100 Subject: Browser rendering --- template.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'template.js') diff --git a/template.js b/template.js index a7b4384..b466a4e 100644 --- a/template.js +++ b/template.js @@ -2,6 +2,12 @@ export const config = { // Specify the URL to start scraping from. url: "https://example.com/", + // Enable rendering with headless browser. (default = false) + // browser: true, + + // Specify if browser should be headless or not. (default = true) + // headless: false, + // Specify the multiple URLs to start scraping from. (default = []) // urls: [ // "https://anothersite.com/", @@ -33,9 +39,11 @@ export const config = { // concurrency: 1, // Specify a single HTTP(S) proxy URL. (default = no proxy) + // Note: Not compatible with browser mode. // proxy: "http://someproxy.com:8043", // Specify multiple HTTP(S) proxy URLs. (default = no proxy) + // Note: Not compatible with browser mode. // proxies: [ // "http://someproxy.com:8043", // "http://someotherproxy.com:8043", -- cgit v1.2.3