# Update Settings

Configure TripAdvisor Restaurant Details Scraper settings

Configure your **TripAdvisor Restaurant Details Scraper** squid settings.

## Headers

<ParamField header="Authorization" type="string" required>
  Your API authentication token. Value: `Token YOUR_API_KEY`
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be application/json. Value: `application/json`
</ParamField>

## Squid Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| max_results | integer | — | Maximum number of results to collect per task. One task returns one restaurant, so this is only useful to cap a run. Leave empty for unlimited. |
| max_unique_results_per_run | integer | — | Maximum number of unique results retrieved across all tasks in the entire run. Leave empty for unlimited. |

## Code Examples

<CodeGroup>
```bash cURL
curl -X POST https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH \
  -H "Authorization: Token YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "max_unique_results_per_run": 1000
  }'
```

```python Python
import requests

response = requests.post(
    "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH",
    headers={
        "Authorization": "Token YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
        "max_unique_results_per_run": 1000,
    },
)
print(response.json())
```
</CodeGroup>

## Response

```json 201
{"params": {"max_unique_results_per_run": 1000}}
```
