-
Notifications
You must be signed in to change notification settings - Fork 38
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
taking too much time #23
Comments
It's TensorFlow related. With Google's Cloud Vision it would finish around 5-10 seconds but Google recently changed their system so people have to play and I figured people wouldn't want to do that. If enough people are interested I can reintroduce Google's Vision again and have the option between that or TensorFlow. |
Oh that would be amazing I’m completely new in js and only know Python quite good.So some code looks simular to py so yeah I will try to use it I guess and thx for the work and please add google vision back 😂 |
I think people are interested to pay because there are websites where you have to solve a hcaptcha to get registered and this registered accounts can get soled for a bit 😅 |
@JokersCat Honestly, the main issue is that you can't use threading in Node. If threading was really possible I could definitely speed up the process by running all the image detection processes at once. I was thinking about maybe looking into trying to incorporate something like calling a C# class for this. Also, I'm almost finished finals so I will try to work on adding the option for Cloud Vision again after (or the C# class) I finish. |
Oh okay I saw that you made something before in Python would it be possible to you to make maybe a Python library on that? 😅 |
@JokersCat this project was based off of this python repo initially. I haven't worked with Python in a very long time so I probably wouldn't attempt to make this into a Python library |
Would you attempt it for money 🧐 |
@JokersCat take a look at this repo. I feel like this is what you’re looking for in Python. With some modifications it can work almost the same way as this repo. |
Oh okay thx and do you got a tip for me how I could inject a hcaptcha token into a website? (with the browser console) |
Ya for sure, its actually super easy. I'll write an example using pyppeteer (a Python version that tries to replicate puppeteer). Once you get your token (however you decide to do that) you would do something like this: await page.evaluate(() => {
document.querySelector('[name="h-captcha-response"]').value = "YOUR TOKEN";
}); I just want to note that you may have to look a little more into the documentation of pyppeteer to confirm this is accurate if you decide to use it over something else like selenium. But, regardless of what you choose the process should be relatively similar. You need to find the query selector with the name "h-captcha-response" on the page and set it's value to the returned token. |
Oh okay thank you I used selenium before.There you can use a command something like driver.execute_script or something like that.To execute a browser script |
But that doesnt worked for me so idk :( I actually searched about this topic and found other people got the same issue but none of them got a solution :( |
As long as your token is right you just need to set the value of the queryselector I sent above. There is nothing else to do once you get the token |
I'm going to close this issue as it has been addressed 54c8451 |
it takes lot of time ( 40 seconds )
Can I fix it?
The text was updated successfully, but these errors were encountered: