> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Settings

> Configure SeLoger Search Export scraper settings

Configure your SeLoger Search Export squid settings. Control pagination and enable detail page enrichment to get full descriptions and geographic coordinates.

## Headers

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

<ParamField header="Content-Type" type="string" required>
  Request body format. Value: `application/json`
</ParamField>

## Scraper Parameters

Set these parameters in the `params` object:

| Parameter                           | Type    | Default   | Description                                                                                                                     |
| ----------------------------------- | ------- | --------- | ------------------------------------------------------------------------------------------------------------------------------- |
| **max\_pages**                      | integer | 400       | Maximum number of search result pages to crawl (max: 400)                                                                       |
| **max\_unique\_results\_per\_run**  | integer | unlimited | Maximum unique results across all tasks in the run                                                                              |
| **functions.get\_annonce\_details** | boolean | false     | Visit each listing's detail page to fetch full description, coordinates (lat/lng), and extra attributes (4 credits per listing) |

## Squid Settings

Configure general squid settings:

| Setting                     | Type    | Description                                      |
| --------------------------- | ------- | ------------------------------------------------ |
| **name**                    | string  | Display name for your squid configuration        |
| **concurrency**             | integer | Number of parallel scraping threads (default: 1) |
| **export\_unique\_results** | boolean | Export only unique results (deduplicated)        |
| **to\_complete**            | boolean | Run until all tasks complete                     |
| **no\_line\_breaks**        | boolean | Remove line breaks from results                  |

<Tip>
  Enable `functions.get_annonce_details` to get full property descriptions and exact GPS coordinates.
</Tip>

<Warning>
  Enabling `get_annonce_details` increases run time as each listing requires an additional HTTP request.
</Warning>

<Note>
  Use `max_pages` to limit the scope of large searches and control credit usage.
</Note>

<Note>
  **Backward compatibility:** The old function name `annonce_details` is still accepted but deprecated. Migrate to `get_annonce_details`.
</Note>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH" \
    -H "Authorization: Token YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "SeLoger Search Export (1)",
      "concurrency": 5,
      "export_unique_results": true,
      "to_complete": false,
      "no_line_breaks": true,
      "params": {
        "functions": {
          "get_annonce_details": true
        },
        "max_pages": 4
      }
    }'
  ```

  ```python Python theme={null}
  import requests

  API_KEY = "YOUR_API_KEY"
  BASE_URL = "https://api.lobstr.io/v1"
  headers = {"Authorization": f"Token {API_KEY}"}

  squid_id = "YOUR_SQUID_HASH"

  # Update squid settings with detail page enrichment
  payload = {
      "name": "SeLoger Search Export (1)",
      "concurrency": 5,
      "export_unique_results": True,
      "to_complete": False,
      "no_line_breaks": True,
      "params": {
          "functions": {
              "get_annonce_details": True  # Fetch full descriptions and coordinates
          },
          "max_pages": 4  # Limit to 4 pages of results
      }
  }

  response = requests.post(f"{BASE_URL}/squids/{squid_id}",
      headers=headers,
      json=payload
  )

  print(f"Settings updated: {response.json()['name']}")
  ```
</CodeGroup>

## Response

```json 201 theme={null}
{
  "name": "SeLoger Search Export (1)",
  "concurrency": 5,
  "export_unique_results": true,
  "to_complete": false,
  "no_line_breaks": true,
  "params": {
    "functions": {
      "get_annonce_details": true
    },
    "max_pages": 4
  }
}
```
