Skip to content

Commit 49a84aa

Browse files
committed
adjust key parameter
1 parent a909b5a commit 49a84aa

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

examples/basic-get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Most basic scrapfly request - GET a provided url
33
*/
44
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
55

6-
const key = 'YOUR_SCRAPFLY_KEY';
6+
const key = 'YOUR SCRAPFLY KEY';
77
const client = new ScrapflyClient({ key });
88
const result = await client.scrape(
99
new ScrapeConfig({

examples/concurrent-scrape.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ note:
1010
*/
1111
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
1212

13-
const key = 'YOUR_SCRAPFLY_KEY';
13+
const key = 'YOUR SCRAPFLY KEY';
1414
const client = new ScrapflyClient({ key });
1515
const configs = [
1616
// these two will succeed:

examples/get-account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ScrapflyClient, ScrapeConfig } from '../build/src/main.js';
22
import { BadApiKeyError } from '../build/src/errors.js';
33

4-
const key = 'YOUR_SCRAPFLY_KEY';
4+
const key = 'YOUR SCRAPFLY KEY';
55
const client = new ScrapflyClient({ key });
66
const acc = await client.account();
77
console.log(acc);

examples/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This example shows how to set custom headers in scrapfly requests
33
*/
44
import { ScrapflyClient, ScrapeConfig } from '../build/src/main.js';
55

6-
const key = 'YOUR_SCRAPFLY_KEY';
6+
const key = 'YOUR SCRAPFLY KEY';
77
const client = new ScrapflyClient({ key });
88
const result = await client.scrape(
99
new ScrapeConfig({

examples/js-scenario.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://scrapfly.io/docs/scrape-api/javascript-scenario
55
*/
66
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
77

8-
const key = 'YOUR_SCRAPFLY_KEY';
8+
const key = 'YOUR SCRAPFLY KEY';
99
const client = new ScrapflyClient({ key });
1010
const result = await client.scrape(
1111
new ScrapeConfig({

examples/post-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This example shows how to POST a form using scrapfly
33
*/
44
import { ScrapflyClient, ScrapeConfig } from '../build/src/main.js';
55

6-
const key = 'YOUR_SCRAPFLY_KEY';
6+
const key = 'YOUR SCRAPFLY KEY';
77
const client = new ScrapflyClient({ key });
88
const result = await client.scrape(
99
new ScrapeConfig({

examples/post-json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This example shows how to POST JSON using scrapfly
33
*/
44
import { ScrapflyClient, ScrapeConfig } from '../build/src/main.js';
55

6-
const key = 'YOUR_SCRAPFLY_KEY';
6+
const key = 'YOUR SCRAPFLY KEY';
77
const client = new ScrapflyClient({ key });
88
const result = await client.scrape(
99
new ScrapeConfig({

examples/render-js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ in scrapfly and how to execute custom javascript code
44
*/
55
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
66

7-
const key = 'YOUR_SCRAPFLY_KEY';
7+
const key = 'YOUR SCRAPFLY KEY';
88
const client = new ScrapflyClient({ key });
99
const result = await client.scrape(
1010
new ScrapeConfig({

examples/screenshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This example shows how to capture page screenshots in scrapfly
33
*/
44
import { ScrapflyClient, ScrapeConfig } from 'scrapfly-sdk';
55

6-
const key = 'YOUR_SCRAPFLY_KEY';
6+
const key = 'YOUR SCRAPFLY KEY';
77
const client = new ScrapflyClient({ key });
88
const result = await client.scrape(
99
new ScrapeConfig({

0 commit comments

Comments
 (0)