diff options
author | lolcat <will@lolcat.ca> | 2024-07-03 12:17:09 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2024-07-03 12:17:09 -0400 |
commit | feb0a6dfc3e8557dd0e87c5b21625baf335dba7b (patch) | |
tree | 11054fca508939545cc7400dcb6152777b590fbc /scraper/yep.php | |
parent | 9c00182b2eeb20000855396c44aab42227a51af6 (diff) |
yep ssl fix
Diffstat (limited to 'scraper/yep.php')
-rw-r--r-- | scraper/yep.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scraper/yep.php b/scraper/yep.php index 4a5d411..3d99181 100644 --- a/scraper/yep.php +++ b/scraper/yep.php @@ -255,6 +255,15 @@ class yep{ // use http2 curl_setopt($curlproc, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); + // set ciphers + // aes_128_gcm_sha_256,chacha20_poly1305_sha_256,aes_256_gcm_sha_384,ecdhe_ecdsa_aes_128_gcm_sha_256,ecdhe_rsa_aes_128_gcm_sha_256,ecdhe_ecdsa_chacha20_poly1305_sha_256,ecdhe_rsa_chacha20_poly1305_sha_256,ecdhe_ecdsa_aes_256_gcm_sha_384,ecdhe_rsa_aes_256_gcm_sha_384,ecdhe_ecdsa_aes_256_sha,ecdhe_ecdsa_aes_128_sha,ecdhe_rsa_aes_128_sha,ecdhe_rsa_aes_256_sha,rsa_aes_128_gcm_sha_256,rsa_aes_256_gcm_sha_384,rsa_aes_128_sha,rsa_aes_256_sha + /* + curl_setopt( + $curlproc, + CURLOPT_SSL_CIPHER_LIST, + "aes_128_gcm_sha_256,chacha20_poly1305_sha_256,aes_256_gcm_sha_384,ecdhe_ecdsa_aes_128_gcm_sha_256,ecdhe_rsa_aes_128_gcm_sha_256,ecdhe_ecdsa_chacha20_poly1305_sha_256,ecdhe_rsa_chacha20_poly1305_sha_256,ecdhe_ecdsa_aes_256_gcm_sha_384,ecdhe_rsa_aes_256_gcm_sha_384,ecdhe_ecdsa_aes_256_sha,ecdhe_ecdsa_aes_128_sha,ecdhe_rsa_aes_128_sha,ecdhe_rsa_aes_256_sha,rsa_aes_128_gcm_sha_256,rsa_aes_256_gcm_sha_384,rsa_aes_128_sha,rsa_aes_256_sha" + );*/ + curl_setopt($curlproc, CURLOPT_ENCODING, ""); // default encoding curl_setopt($curlproc, CURLOPT_HTTPHEADER, ["User-Agent: " . config::USER_AGENT, |