summaryrefslogtreecommitdiff
path: root/scraper
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-05-24 20:35:12 -0400
committerlolcat <will@lolcat.ca>2024-05-24 20:35:12 -0400
commit55fe39e0d388fdaac661225cdc622cf91cb7198a (patch)
tree2495d6e59d0061ecd4ee391262b3c8ea1ff0d5f4 /scraper
parentff03379c850507dca2c42d1ebff0b3eb87c82d78 (diff)
yep fix, needs configuration
Diffstat (limited to 'scraper')
-rw-r--r--scraper/yep.php5
1 files changed, 1 insertions, 4 deletions
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");
}
}