Skip to content

Commit 8b2a286

Browse files
authored
Update SDKdemo_unlock.py
1 parent 9184c41 commit 8b2a286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SDKdemo_unlock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from brightdata import bdclient
22

3-
bd = bdclient(api_token="73fa4ac2-4487-4509-9250-d902e58985fd")
3+
bd = bdclient(api_token="your-api-token") #can also be taken from .env file
44

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

99
results = bd.scrape(url=URL, )
10-
bd.download_content(results, filename="scrape_results.json")
10+
bd.download_content(results, filename="scrape_results.json")

0 commit comments

Comments
 (0)