-
Notifications
You must be signed in to change notification settings - Fork 40
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
curl folder not found #32
Comments
are you sure you're using the latest version of serp-scraper? php-curl-client dependency was added in version 3. Do 'composer update' |
already do composer update and the error has changed into this one ... PS D:\htdocs> php D:\htdocs\gscraper.php Warning: require(D:\htdocs\vendor\composer/../athlon1600/serpscraper/src/dbc/deathbycaptcha.php): failed to open stream: Fatal error: require(): Failed opening required 'D:\htdocs\vendor\composer/../athlon1600/serpscraper/src/dbc/deathbycapt |
okay, plan B: Remove serpscraper and reinstall it again. go to D:\htdocs\vendor\athlon1600 Then redo either |
Warning: require(D:\htdocs\vendor\composer/../athlon1600/serpscraper/src/dbc/deathbycaptcha.php): failed to open stream: it's seem the file needed are not being downloaded by composer |
Try: if that does not work, then take the nuclear option and just delete entire |
Hello, I had trying all of your suggestion but the error messages is still same Any suggestion how to get the file needed ? |
I mean you can get the file manually from v2.0 branch here: but the latest version of serp scraper (v3.0) does not depend on that file in any way, so it's very weird that composer still complaining about this. Double check for sure that you are using the LATEST version. Any chance of you zipping that whole htdocs directory with |
how to send it to you ? |
and send it to: [email protected] |
done bro, file sent |
ups i'm missing adding that files, wait re-send the files anyway when i try to delete vendor folder and do reinstall, it's showing me this ... PS D:\htdocs> composer require athlon1600/serpscraper "^3.0"
'git' is not recognized as an internal or external command,
|
oh wow so apparently version 3.0.0 is broken, because if you tell your composer to install the latest from version 3 branch (v3.0.1 for example), it works just fine... 😴 so just add a it works and you don't get any errors about missing |
the error is changed into this one ... PS D:\htdocs> php .\gscraper.php Fatal error: Uncaught Error: Class 'SerpScraper\GoogleCaptchaSolver' not found in D:\htdocs\gscraper.php:29 |
I got it to work but there is another error that appear It's better to use the http code 429 for checking if the proxy showing captcha or not when being used but when i try to use $temp-status, it show me this error messages ... Notice: Trying to get property 'status' of non-object in D:\htdocs\gscraper.php on line 35 |
yeah remove those two packages because they are already included with serpscraper: and do
also don't know what line 35 looks like for you there. Do |
I had fixing the error and adding code to detect if proxy having username and password `// explode the proxy to find out if there is username and password
Every thing is working fine but it's seem the connection to 2captcha api is not working well and i dont know why, need to debug more PS D:\htdocs> php .\gscraper.php |
i think i know why it got error when trying to solve captcha, seem related with the code below ...
i will try to modifying your code to checking proxy type and if the proxy having username and password before sending it to 2captcha, hopefully it will working fine after adding additional code into it :) |
when i try to var_dump $temp variable, it show me this .. Testing 167.99.195.184:5050 Captcha detected for proxy 167.99.195.184:5050 <script src="https://www.google.com/recaptcha/api.js" async defer></script> <script>var submitCallback = function(response) {document.getElementById('captcha-form').submit();};</script>
About this page
Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you se Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you se
This page appears when Google automatically detects requests coming from your computer network which appear to be in vio
lation of the Terms of Service. The block will expire shortly after those
requests stop. In the meantime, solving the above CAPTCHA will let you continue to use our services.
This traff ic may have been sent by malicious software, a browser plug-in, or a script that sends automated requests. If you share your network connection, ask your administrator for help — a different computer using the same IP address may be responsible. Learn more Sometimes you may be asked to solve the CAPTCHA if you are using advanced terms that robots are known to use, or sending requests very quickly. IP address: 45.147.28.71
) I'm changing sitekey to data-sitekey at file Utils.php but still failed when trying to solving captcha |
is this only an issue with proxies that need username & password to authenticate or ALL proxies even public ones? Because I just tested this using a plain public proxy and it works just fine? |
the plain proxy also not working on my side, it seem captcha solving progress not work, even my balance on 2captcha not changed lol or do i made a mistake on the configuration ? |
no idea. Send me your full code again, so I can look at it. |
file sent to your email |
I'm trying to var_dump $solution variable but it return empty value |
this has now become a separate issue caused by broken https://github.com/Athlon1600/php-captcha-solver ... which will take a while to fix it. Give me a couple days and this should be back to working |
ok i will wait :) |
it's finally been fixed: update your SerpScraper version to 4.0 and you should be good. |
it can work for multiple proxy now or only 1 proxy ? |
ah ok so it's still like the old version |
Nope, it's using this: You can change that of course, by creating your own MySpecialCustomBrowser class that extends this base class here: and adding whatever custom headers you want. |
ah ok, tomorrow i will try your new version :) |
still not work bro, better I'm using XEvil to resolving the recaptcha v2 :) PS D:\htdocs> php .\gscraper.php |
Hello Hudson, we got a problem here ...
|
This is a problem with your system, not this script. But this is a very common problem, so you should be able to solve this by following these steps here: |
yep, i'm using the latest version of your codes Warning: curl_setopt_array(): You must pass either an object or an array with the CURLOPT_HTTP200ALIASES argument in D: I had trying to search on google regarding this but got no success since there is not much code example regarding CURLOPT_HTTP200ALIASES Maybe you got any clue regarding CURLOPT_HTTP200ALIASES |
ignore my last comment, the main problem seem still occurred about SSL which is SSL certificate problem: unable to get local issuer certificate I had setup everything both in php.ini and curl but the error still shown
|
the only thing you should modifying is your php.ini file. there's something you haven't set up correctly I'm sure, cause otherwise you wouldn't be getting that error. |
well, I had putting the path on php.ini even had put it to the curl option but the error still showing |
ok, i had make it to work 👍 |
anyway, I had adding the codes below to limiting captcha solving loop
|
Fatal error: Uncaught Error: Class 'Curl\BrowserClient' not found in D:\htdocs\SerpScraper\Browser.php:7
Stack trace:
The text was updated successfully, but these errors were encountered: