1
Fork 1
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-11-08 17:43:07 -05:00

yep fix, needs configuration

This commit is contained in:
lolcat 2024-05-24 20:35:12 -04:00
parent ff03379c85
commit 55fe39e0d3

View file

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