Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip install brightdata-sdk

## Configuration

Get your API Token from the [Bright Data Control Panel](https://brightdata.com/cp/api_keys):
Get your API Token from the [Bright Data Control Panel](https://brightdata.com/cp/setting/users):

```bash
export BRIGHTDATA_API_TOKEN="your_api_token_here"
Expand Down Expand Up @@ -194,7 +194,7 @@ async with BrightDataClient() as client:
num_results=10,
)
for item in result.data:
print(f"[{item['relevance_score']:.2f}] {item['title']} {item['url']}")
print(f"[{item['relevance_score']:.2f}] {item['title']} {item['link']}")
```

For long-running discoveries, trigger and poll separately:
Expand Down
2 changes: 1 addition & 1 deletion src/brightdata/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _load_token(self, token: Optional[str]) -> str:
f"Provide token in one of these ways:\n"
f" 1. Pass as parameter: BrightDataClient(token='your_token')\n"
f" 2. Set environment variable: {self.TOKEN_ENV_VAR}\n\n"
f"Get your API token from: https://brightdata.com/cp/api_keys"
f"Get your API token from: https://brightdata.com/cp/setting/users"
)

async def _ensure_zones(self) -> None:
Expand Down
Loading