From 0a069c875d3e08a2b19806191b9d1247f912d8ed Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 30 Jun 2025 18:42:23 +0600 Subject: [PATCH] docs/api: specify that ISO 639-1 language code is expected --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index a6ea4dc6..47fc7115 100644 --- a/docs/api.md +++ b/docs/api.md @@ -79,14 +79,14 @@ all keys except for `url` are optional. value options are separated by `/`. | `disableMetadata` | `boolean` | title, artist, and other info will not be added to the file | `false` | | `alwaysProxy` | `boolean` | always tunnel all files, even when not necessary | `false` | | `localProcessing` | `string` | `disabled / preferred / forced` | `disabled` | -| `subtitleLang` | `string` | any valid language code, such as: `en` or `zh-CN` | *none* | +| `subtitleLang` | `string` | any valid ISO 639-1 language code | *none* | #### service-specific options | key | type | description/value | default | |:------------------------|:----------|:--------------------------------------------------|:--------| | `youtubeVideoCodec` | `string` | `h264 / av1 / vp9` | `h264` | | `youtubeVideoContainer` | `string` | `auto / mp4 / webm / mkv` | `auto` | -| `youtubeDubLang` | `string` | any valid language code, such as: `en` or `zh-CN` | *none* | +| `youtubeDubLang` | `string` | any valid ISO 639-1 language code | *none* | | `convertGif` | `boolean` | convert twitter gifs to the actual GIF format | `true` | | `allowH265` | `boolean` | allow H265/HEVC videos from tiktok/xiaohongshu | `false` | | `tiktokFullAudio` | `boolean` | download the original sound used in a video | `false` |