config.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. return (object) array(
  3. // e.g.: fr -> https://google.fr/
  4. "google_domain" => "com",
  5. // Google results will be in this language
  6. "google_language" => "en",
  7. "disable_bittorent_search" => false,
  8. "bittorent_trackers" => "&tr=http%3A%2F%2Fnyaa.tracker.wf%3A7777%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce",
  9. /*
  10. To send requests trough a proxy uncomment CURLOPT_PROXY and CURLOPT_PROXYTYPE:
  11. CURLOPT_PROXYTYPE options:
  12. CURLPROXY_HTTP
  13. CURLPROXY_SOCKS4
  14. CURLPROXY_SOCKS4A
  15. CURLPROXY_SOCKS5
  16. CURLPROXY_SOCKS5_HOSTNAME
  17. !!! ONLY CHANGE THE OTHER OPTIONS IF YOU KNOW WHAT YOU ARE DOING !!!
  18. */
  19. "curl_settings" => array(
  20. // CURLOPT_PROXY => "ip:port",
  21. // CURLOPT_PROXYTYPE => CURLPROXY_HTTP,
  22. CURLOPT_RETURNTRANSFER => true,
  23. CURLOPT_ENCODING => "",
  24. CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36",
  25. CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
  26. CURLOPT_CUSTOMREQUEST => "GET",
  27. CURLOPT_SSL_VERIFYHOST => false,
  28. CURLOPT_SSL_VERIFYPEER => false,
  29. CURLOPT_SSL_VERIFYSTATUS => false,
  30. CURLOPT_VERBOSE => false,
  31. CURLOPT_TCP_FASTOPEN => true
  32. )
  33. );
  34. ?>