Skip to content

Commit a81cbd8

Browse files
authored
Update scrape_example.py
1 parent cc3f765 commit a81cbd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/scrape_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
from brightdata import bdclient
66

7-
client = bdclient(auto_create_zones=False) #can also be taken from .env file
7+
client = bdclient(api_token="your-api-token") #can also be taken from .env file
88

99
URL = (["https://www.amazon.com/dp/B079QHML21",
1010
"https://www.ebay.com/itm/365771796300",
1111
"https://www.walmart.com/ip/Apple-MacBook-Air-13-3-inch-Laptop-Space-Gray-M1-Chip-8GB-RAM-256GB-storage/609040889"])
1212

1313
results = client.scrape(url=URL, max_workers=5)
1414

15-
client.download_content(results)
15+
client.download_content(results)

0 commit comments

Comments
 (0)