2022-02-17 17:14:56 -03:00
|
|
|
<?php
|
2022-03-11 06:04:36 -03:00
|
|
|
return (object) array(
|
2022-03-15 07:37:21 -03:00
|
|
|
|
2022-03-11 06:04:36 -03:00
|
|
|
// 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",
|
|
|
|
|
2022-11-20 15:00:45 -03:00
|
|
|
"disable_hidden_service_search" => false,
|
|
|
|
|
2022-09-03 13:45:47 -04:00
|
|
|
/*
|
2022-04-21 05:02:32 -04:00
|
|
|
Preset privacy friendly frontends for users, these can be overwritten by users in settings
|
|
|
|
e.g.: "invidious" => "https://yewtu.be",
|
|
|
|
*/
|
2022-09-03 13:45:47 -04:00
|
|
|
"invidious" => "", // youtube
|
|
|
|
"bibliogram" => "", // instagram
|
|
|
|
"nitter" => "", // twitter
|
|
|
|
"libreddit" => "", // reddit
|
|
|
|
"proxitok" => "", // tiktok
|
|
|
|
"wikiless" => "", // wikipedia
|
2022-12-02 05:41:12 -03:00
|
|
|
"quetre" => "", // quora
|
|
|
|
"libremdb" => "", // imdb
|
2022-04-21 05:02:32 -04:00
|
|
|
|
2022-03-11 06:04:36 -03:00
|
|
|
/*
|
|
|
|
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 => "",
|
2022-12-02 05:41:12 -03:00
|
|
|
CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
|
2022-03-11 06:04:36 -03:00
|
|
|
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
|
|
|
|
CURLOPT_CUSTOMREQUEST => "GET",
|
2022-05-15 04:34:46 -04:00
|
|
|
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
|
|
|
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
|
|
|
CURLOPT_MAXREDIRS => 5,
|
2022-09-03 13:45:47 -04:00
|
|
|
CURLOPT_TIMEOUT => 18,
|
2022-04-26 15:28:20 -04:00
|
|
|
CURLOPT_VERBOSE => false
|
2022-03-11 06:04:36 -03:00
|
|
|
)
|
2022-03-15 07:37:21 -03:00
|
|
|
|
2022-02-19 17:40:56 -03:00
|
|
|
);
|
2022-03-15 07:37:21 -03:00
|
|
|
?>
|