From e999480917bccbfaab07c6ded36a20ecd333c63c Mon Sep 17 00:00:00 2001 From: nhantamz <63847256+nhantamz@users.noreply.github.com> Date: Wed, 1 Feb 2023 10:09:29 +0700 Subject: [PATCH] Update upload.ts Set English as default language. --- src/upload.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/upload.ts b/src/upload.ts index 3cef9cd..784b78d 100644 --- a/src/upload.ts +++ b/src/upload.ts @@ -22,8 +22,8 @@ let cookiesFilePath: string const invalidCharacters = ['<', '>'] -const uploadURL = 'https://www.youtube.com/upload' -const homePageURL = 'https://www.youtube.com' +const uploadURL = 'https://www.youtube.com/upload?persist_gl=1&gl=US&persist_hl=1&hl=en' +const homePageURL = 'https://www.youtube.com/?persist_gl=1&gl=US&persist_hl=1&hl=en' const defaultMessageTransport: MessageTransport = { log: console.log,