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

Fails when running node app.js #17

Open
hdsouza opened this issue Sep 3, 2022 · 2 comments
Open

Fails when running node app.js #17

hdsouza opened this issue Sep 3, 2022 · 2 comments

Comments

@hdsouza
Copy link

hdsouza commented Sep 3, 2022

Hi,
Thanks for the code. I completed all the instruction and when I run the node app.js, It opens a browser, navigates to the close , then closes it down with the error below:
I copied your 3 files from your website and use them as is.
(url used = https://democaptcha.com/demo-form-eng/hcaptcha.html)
How can we fix this?
Thanks.

PS C:\Temp\Youtube> node app.js
Solving Captcha...
file:///C:/Temp/Youtube/bypass/captchaBypasser.js:11
async (err, [, captchaKey]) => {
^

TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
at file:///C:/Temp/Youtube/bypass/captchaBypasser.js:11:7
at PythonShell._endCallback (C:\Temp\Youtube\node_modules\python-shell\index.js:254:20)
at terminateIfNeeded (C:\Temp\Youtube\node_modules\python-shell\index.js:209:39)
at ChildProcess. (C:\Temp\Youtube\node_modules\python-shell\index.js:182:13)
at ChildProcess.emit (node:events:513:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

@hdsouza
Copy link
Author

hdsouza commented Sep 5, 2022

The error is now gone. Not sure how though.
I am able to use the script and get 2captcha to solve correctly, although the free version does not work for me.
In the free version, the right check appears, but if you click on the continue button to go to the next page it says Captcha required.

@Kiriox94
Copy link

Hello I have the same problem did you finally find how you solved the problem?

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

No branches or pull requests

2 participants