forked from lolcat/4get
1
0
Fork 0

yep fix, needs configuration

This commit is contained in:
lolcat 2024-05-24 20:35:12 -04:00
parent ff03379c85
commit 55fe39e0d3
1 changed files with 1 additions and 4 deletions

View File

@ -270,9 +270,6 @@ class yep{
"TE: trailers"]
);
// http3 bypass
curl_setopt($curlproc, CURLOPT_HTTP_VERSION, 30);
curl_setopt($curlproc, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlproc, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($curlproc, CURLOPT_SSL_VERIFYPEER, true);
@ -700,7 +697,7 @@ class yep{
) !== 0
){
throw new Exception("Blocked by Cloudflare");
throw new Exception("Blocked by Cloudflare. Please follow curl-impersonate installation instructions");
}
}