-
Notifications
You must be signed in to change notification settings - Fork 88
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
Headless doesn't work as of 01.27.2024 #240
Comments
Yup, and even doing it with headless disabled i get this error :( |
Is there a work around, such as not running in headless mode? Or any other working packages? |
It's just getting recaptchas. |
I did this to spawn the window off screen
|
Google appears to be blocking automated headless interactions. Here is the code I'm trying:
And this results in:
TimeoutError: waiting for selector
input[type="password"]:not([aria-hidden="true"])
failed: timeout 60000ms exceededat new WaitTask (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:680:34)
at DOMWorld._waitForSelectorInPage (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:564:26)
at internalHandler.waitFor (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:34:29)
at DOMWorld.waitForSelector (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:493:29)
at Frame.waitForSelector (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:1019:51)
at Page.waitForSelector (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2265:33)
at login (/usr/src/app/node_modules/youtube-videos-uploader/dist/upload.js:974:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async loadAccount (/usr/src/app/node_modules/youtube-videos-uploader/dist/upload.js:838:13)
at async upload (/usr/src/app/node_modules/youtube-videos-uploader/dist/upload.js:52:9)
A few ideas how to fix this:
But unfortunately I don't see any of the available headless selenium/firefox + puppeteer solutions as a long term strategy for automated youtube uploads as of now :( My dreams of automating mass-uploads are now completely shattered
The text was updated successfully, but these errors were encountered: