Open suikula opened 2 years ago
Paid support is available for quick resolution, new features etc. For paid support, please write mail to youtube-uploader@datascraping.pp.ua
Im not node.js or js expert in any means and I was hoping to someone help me out to debug this problem.
Can this be the problem ?
if (videoJSON.onProgress) {
clearInterval(progressChecker);
progressChecker = undefined;
progress = { progress: 100, stage: types_1.ProgressEnum.Done };
videoJSON.onProgress(progress);
}
but in my case progress never gets to 100, but instead it finishes at 95..
progress { progress: 95, stage: 0 } progress { progress: 0, stage: 0 }
If this is the reason, do anyone have any workaround to try for this problem ? Any help is appreciated, thank you.
Not sure why but commenting these lines:
const uploadResult = yield Promise.any([uploadCompletePromise, dailyUploadPromise]);
if (uploadResult === 'dailyUploadReached') {
yield browser.close();
throw new Error('Daily upload limit reached');
}
solved the problem
Have you solved it @suikula
With the latest version of node, this issue is resolved
I also came across this issue, and I was able to figure out what was going wrong by running in non-headless mode, for example:
update(credentials, [videoUpdate1, videoUpdate2], { headless: false }).then(console.log)
Then I was able to see that since I had JUST made the Youtube Channel, there was various verification things Youtube Requires before you can upload a video longer than 15 minutes or add any links to the description. Also! I learned that angle brackets (< or >
) are not allowed in the Youtube Description.
And because of these things, things would break. Once I resolved these issues, everything ran great! 😄 🎉
(
< or >
) are not allowed in the Youtube Description.
Yup, I've always hated that, cauz' I then have to use unicode arrows rather than "->"
Im using latest version of youtube-uploader, but uploader gets stuck after video is uploaded to youtube. Title or description is never set.
It seems like uploadCompletePromise never happens.
Im running puppeteer headless:false and I can see that there is not popups or anything else preventing the progress to go on.
I have set default upload settings in youtube, but do I have to use those same values in anywhere else (I understood that this is not needed) ?
https://imgbox.com/9o5ErE7h <--- screenshot
EDIT:
upload gets stuck on "Details" not in "checks" as originally on title. Title, Description, thumbnail and playlist is not set automatically.