config.php 829 B

1234567891011121314151617181920
  1. <?php
  2. return (object) array(
  3. "curl_settings" => array(
  4. // CURLOPT_PROXY => "ip:port",
  5. // CURLOPT_PROXYTYPE => CURLPROXY_HTTP,
  6. CURLOPT_RETURNTRANSFER => true,
  7. CURLOPT_ENCODING => "",
  8. CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  9. CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
  10. CURLOPT_CUSTOMREQUEST => "GET",
  11. CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
  12. CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
  13. CURLOPT_MAXREDIRS => 5,
  14. CURLOPT_TIMEOUT => 18,
  15. CURLOPT_VERBOSE => false
  16. )
  17. );
  18. ?>
  19. // settings basically stolen from LibreX - https://github.com/hnhx/librex