tokland / youtube-upload

Upload videos to Youtube from the command line
2.08k stars 465 forks source link

How to change channel? #235

Open kxltsuper opened 6 years ago

kxltsuper commented 6 years ago

when i first use youtube-upload,i pick one channel and get the verification code. Now,i want to upload video to another channel,how to do? How to use the "--credentials-file=my_credentials.json"? what's the content of the "my_credentials.json"?

AndCycle commented 6 years ago

do another credential file, that's all.

blacchollywood commented 6 years ago

hey guys @AndCycle: HOW exactly can I create another credentials file?

Yodart commented 5 years ago

Yo! @blacchollywood @AndCycle Any updates on how to create the file?

wuduhren commented 4 years ago

Remove the ~/.youtube-upload-credentials.json file. Run the youtube-upload command again (upload a test video), it will ask you to verify your account from browser. This time choose the youtube account you want. Credentials will be auto-generate again.

KenSharp commented 4 years ago

Don't remove files or you'll have to authorise every time, just use a different name.

musubk commented 2 years ago

I've tried using a new credentials file, I've tried removing ~/.youtube-upload-credential.json, I've gone as far as removing the entire youtube-upload-master directory, redownloading and installing the zip, redoing the setup, and redoing the browser authentication. I'm completely signed out of the old account and signed into the new account in the browser, and I authenticate in the new channel. youtube-upload still attempts to upload to the old channel and won't upload to the new one. What am I missing?