Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] upload videos as draft #96

Closed
coooo77 opened this issue May 15, 2022 · 2 comments · Fixed by #105
Closed

[feature request] upload videos as draft #96

coooo77 opened this issue May 15, 2022 · 2 comments · Fixed by #105

Comments

@coooo77
Copy link
Contributor

coooo77 commented May 15, 2022

Because videos uploaded may contain copyrighted material, have to check and save video manually. It's possible to not save videos?

BTW, there are some problem using youtube-uploader

  1. minimum required options to upload video doesn't contain channelName, but it's required in types. And dunno what exactly channelName works, uploading stuck when i specified it.
  2. function upload can be specified an array of videos, but i failed and it's ok to upload single video. I solved it with reduce
[video1, video2].reduce((acc, cur) => acc.then(() => upload(credentials, [cur], { headless: false })), Promise.resolve(['']))
@fawazahmed0
Copy link
Owner

channelName feature was added by someone else, I did not test it. If you would like to have a new feature or fix any bugs, please send a PR

@coooo77
Copy link
Contributor Author

coooo77 commented May 24, 2022

PR sent, thanks @fawazahmed0

@fawazahmed0 fawazahmed0 linked a pull request May 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants