mirror of
https://github.com/hnhx/librex.git
synced 2025-01-11 04:02:37 -03:00
42 lines
1.6 KiB
PHP
Executable file
42 lines
1.6 KiB
PHP
Executable file
<?php
|
|
return (object) array(
|
|
|
|
// e.g.: fr -> https://google.fr/
|
|
"google_domain" => "com",
|
|
|
|
// Google results will be in this language
|
|
"google_language" => "en",
|
|
|
|
"disable_bittorent_search" => false,
|
|
"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",
|
|
|
|
/*
|
|
To send requests trough a proxy uncomment CURLOPT_PROXY and CURLOPT_PROXYTYPE:
|
|
|
|
CURLOPT_PROXYTYPE options:
|
|
|
|
CURLPROXY_HTTP
|
|
CURLPROXY_SOCKS4
|
|
CURLPROXY_SOCKS4A
|
|
CURLPROXY_SOCKS5
|
|
CURLPROXY_SOCKS5_HOSTNAME
|
|
|
|
!!! ONLY CHANGE THE OTHER OPTIONS IF YOU KNOW WHAT YOU ARE DOING !!!
|
|
*/
|
|
"curl_settings" => array(
|
|
// CURLOPT_PROXY => "ip:port",
|
|
// CURLOPT_PROXYTYPE => CURLPROXY_HTTP,
|
|
CURLOPT_RETURNTRANSFER => true,
|
|
CURLOPT_ENCODING => "",
|
|
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",
|
|
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
|
|
CURLOPT_CUSTOMREQUEST => "GET",
|
|
CURLOPT_SSL_VERIFYHOST => false,
|
|
CURLOPT_SSL_VERIFYPEER => false,
|
|
CURLOPT_SSL_VERIFYSTATUS => false,
|
|
CURLOPT_VERBOSE => false,
|
|
CURLOPT_TCP_FASTOPEN => true
|
|
)
|
|
|
|
);
|
|
?>
|