LuanRT / YouTube.js

A JavaScript client for YouTube's private API, known as InnerTube.
https://ytjs.dev
MIT License
3.53k stars 224 forks source link

Add support for brand accounts #485

Open damian123 opened 1 year ago

damian123 commented 1 year ago

Describe your suggestion

Please add support for brand accounts, at the moment, we get a permission error (see below).

I guess I need to add permissions but the problem might be more complicated than that.

Other details

Here is the error: throw new InnertubeError(Request to ${response.url} failed with status ${response.status}`, yield response.text()); ^

InnertubeError: Request to https://upload.youtube.com//upload/youtubei?prettyPrint=false&alt=json failed with status 401 at HTTPClient. (/home/rolland/YouTube/node_modules/youtubei.js/bundle/node.cjs:12199:13) at Generator.next () at fulfilled (/home/user/YouTube/node_modules/tslib/tslib.js:166:62) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { info: '{"status":"STATUS_REJECTED","rejectionReason":"REJECTED_NOT_AUTHENTICATED"}', date: 2023-08-27T09:37:47.038Z, version: '6.0.2' }`

Checklist

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.