From 4577f8f2b65b801be60acd7fa523d6eb7ad332df Mon Sep 17 00:00:00 2001 From: Mo Date: Wed, 22 Nov 2023 13:10:22 +0100 Subject: [PATCH] Update environment variables --- content/2.installation/3.configuration.md | 1 + content/2.installation/4.advanced.md | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/content/2.installation/3.configuration.md b/content/2.installation/3.configuration.md index ddc18df..e130670 100644 --- a/content/2.installation/3.configuration.md +++ b/content/2.installation/3.configuration.md @@ -27,6 +27,7 @@ ViewTube will check all required environment variables on startup. Check the log | Variable | Default | Description | | --------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- | +| VIEWTUBE_CLUSTERED | false | Instruct ViewTube to start as many worker processes as it has threads available. If disabled, it will run on a single process instance. | | VIEWTUBE_CORS_ORIGIN | _empty_ | Specify the domain allowed to make cross-origin requests to ViewTube (see: [CORS](/installation/advanced#cors)) | | VIEWTUBE_SECURE | false | Enables some security features (CSP headers, secure cookies). Enable this if you are using an HTTPS certificate | | VIEWTUBE_YOUTUBE_COOKIE | _empty_ | Your Youtube cookie (see: [Youtube cookies](/installation/advanced#use-cookies-from-a-real-account)) | diff --git a/content/2.installation/4.advanced.md b/content/2.installation/4.advanced.md index 61d4f3c..fd1f30d 100644 --- a/content/2.installation/4.advanced.md +++ b/content/2.installation/4.advanced.md @@ -29,13 +29,6 @@ You can provide your own cookies to circumvent this issue. - Type `document.cookie` - Copy the entire response into the `VIEWTUBE_YOUTUBE_COOKIE` environment variable -### YouTube identifier - -- Navigate to a video -- Right click and click "view source" -- Press CTRL+F to search for "ID_TOKEN" -- Copy this value into the `VIEWTUBE_YOUTUBE_IDENTIFIER` environment variable - ## Proxy Another way to circumvent Google's rate-limiting is to use an external proxy.