> ## 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 YouTube Transcript Scraper settings

Configure your **YouTube Transcript 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                                                                                                                |
| ---------------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| **url**                      | string  | —        | YouTube video, playlist, or channel URL                                                                                    |
| **language**                 | string  | original | Caption language to download. 'original' uses the video's default language; 'en', 'fr', etc. downloads a specific language |
| **include\_auto\_generated** | boolean | true     | Also download auto-generated (speech-to-text) tracks                                                                       |
| **max\_results**             | integer | —        | Maximum videos collected for a playlist or channel URL                                                                     |

## 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 '{"params": {"language": "en", "include_auto_generated": true, "max_results": 50}}'
  ```

  ```python Python theme={null}
  import requests
  requests.post("https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH",
      headers={"Authorization": "Token YOUR_API_KEY", "Content-Type": "application/json"},
      json={"params": {"language": "en", "include_auto_generated": true, "max_results": 50}})
  ```
</CodeGroup>

## Response

```json 201 theme={null}
{"params": {"language": "en", "include_auto_generated": true, "max_results": 50}}
```
