From 55fe39e0d388fdaac661225cdc622cf91cb7198a Mon Sep 17 00:00:00 2001 From: lolcat Date: Fri, 24 May 2024 20:35:12 -0400 Subject: yep fix, needs configuration --- scraper/yep.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scraper') diff --git a/scraper/yep.php b/scraper/yep.php index 3bd0842..216b4d1 100644 --- a/scraper/yep.php +++ b/scraper/yep.php @@ -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"); } } -- cgit v1.2.3