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:
parent
ff03379c85
commit
55fe39e0d3
1 changed files with 1 additions and 4 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue