fawazahmed0 / youtube-uploader

Free youtube video uploader with no limits
MIT License
365 stars 86 forks source link

Setting description and title fails #234

Open bmarotta opened 10 months ago

bmarotta commented 10 months ago

When uploading a video I get the below error. The video is fully uploaded, but the description and title are not set. I ran with the code with {headless: false} and I can see it typing the title and description. Somehow is not being able to find the next button of the dialog. Any ideas?

C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:354
    await next[0].click();
                  ^

TypeError: Cannot read properties of undefined (reading 'click')
    at uploadVideo (C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:354:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async upload (C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:49:26)
    at async checkAndUploadVideo (file:///C:/dev/appium/you-tube-uploader/dist/index.js:50:20)
    at async file:///C:/dev/appium/you-tube-uploader/dist/index.js:29:17
misterpeople commented 1 week ago

were u able to fix it? getting the same