From 89b9c90021e824fa971d833a2960df8cebc3551a Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Mon, 5 May 2025 20:39:41 +0200 Subject: [PATCH 1/2] Updated youtube loader docs --- docs/getting-started/env-configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 98421e5..7f2e2b5 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -1838,7 +1838,8 @@ Using a remote Playwright browser via `PLAYWRIGHT_WS_URL` can be beneficial for: - Type: `str` - Default: `en` -- Description: Sets the language to use for YouTube video loading. +- Description: Comma-separated list of language codes to try when fetching YouTube video transcriptions, in priority order. +- Example: If set to es,de,en, Spanish transcriptions will be attempted first, then German if Spanish was not available, and lastly English. Note: If none of the specified languages are available and `en` was not in your list, the system will automatically try English as a final fallback. - Persistence: This environment variable is a `PersistentConfig` variable. ## Audio From 68430313e4ae05c83f3abf6d433b84de8e7343ea Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Mon, 5 May 2025 20:48:27 +0200 Subject: [PATCH 2/2] Update env-configuration.md --- docs/getting-started/env-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 7f2e2b5..53b09ec 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -1839,7 +1839,7 @@ Using a remote Playwright browser via `PLAYWRIGHT_WS_URL` can be beneficial for: - Type: `str` - Default: `en` - Description: Comma-separated list of language codes to try when fetching YouTube video transcriptions, in priority order. -- Example: If set to es,de,en, Spanish transcriptions will be attempted first, then German if Spanish was not available, and lastly English. Note: If none of the specified languages are available and `en` was not in your list, the system will automatically try English as a final fallback. +- Example: If set to `es,de`, Spanish transcriptions will be attempted first, then German if Spanish was not available, and lastly English. Note: If none of the specified languages are available and `en` was not in your list, the system will automatically try English as a final fallback. - Persistence: This environment variable is a `PersistentConfig` variable. ## Audio