summaryrefslogtreecommitdiff
path: root/template.js
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2024-02-24 13:59:29 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2024-02-24 13:59:29 +0100
commit6cc19d5c412b8adc89092702d4bc21b416fc4fae (patch)
tree3142b426395a409647a519270e31145fa9000f65 /template.js
parent3dc39e9eba495b18dad2a7d79d45dcb634729dd7 (diff)
Browser rendering
Diffstat (limited to 'template.js')
-rw-r--r--template.js8
1 files changed, 8 insertions, 0 deletions
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",