2022-02-17 12:14:56 -08:00
|
|
|
<?php
|
2022-03-11 01:04:36 -08:00
|
|
|
return (object) array(
|
2022-03-15 03:37:21 -07:00
|
|
|
|
2022-03-11 01:04:36 -08:00
|
|
|
// e.g.: fr -> https://google.fr/
|
|
|
|
"google_domain" => "com",
|
|
|
|
|
|
|
|
// Google results will be in this language
|
2023-02-17 00:44:03 -08:00
|
|
|
"google_language_site" => "",
|
|
|
|
"google_language_results" => "",
|
2022-03-11 01:04:36 -08:00
|
|
|
|
2023-02-05 00:55:28 -08:00
|
|
|
// You can use any Invidious instance here
|
2023-01-27 09:17:57 -08:00
|
|
|
"invidious_instance_for_video_results" => "https://invidious.namazso.eu",
|
|
|
|
|
2022-03-11 01:04:36 -08:00
|
|
|
"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 10:00:45 -08:00
|
|
|
"disable_hidden_service_search" => false,
|
|
|
|
|
2022-09-03 10:45:47 -07:00
|
|
|
/*
|
2023-02-17 00:44:03 -08:00
|
|
|
Preset privacy friendly frontends for users, these can be overwritten by users in the settings
|
|
|
|
e.g.: Preset the invidious instance URL: "instance_url" => "https://yewtu.be",
|
2022-04-21 02:02:32 -07:00
|
|
|
*/
|
2023-02-17 00:44:03 -08:00
|
|
|
|
|
|
|
"frontends" => array(
|
|
|
|
"invidious" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://docs.invidious.io/instances/",
|
|
|
|
"original_name" => "YouTube",
|
|
|
|
"original_url" => "youtube.com"
|
|
|
|
),
|
|
|
|
"bibliogram" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md",
|
|
|
|
"original_name" => "Instagram",
|
|
|
|
"original_url" => "instagram.com"
|
|
|
|
),
|
|
|
|
"rimgo" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
|
|
|
"original_name" => "Imgur",
|
|
|
|
"original_url" => "imgur.com"
|
|
|
|
),
|
|
|
|
"scribe" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://git.sr.ht/~edwardloveall/scribe/tree/main/docs/instances.md",
|
|
|
|
"original_name" => "Medium",
|
|
|
|
"original_url" => "medium.com"
|
|
|
|
),
|
|
|
|
"gothub" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://codeberg.org/gothub/gothub/wiki/Instances",
|
|
|
|
"original_name" => "GitHub",
|
|
|
|
"original_url" => "github.com"
|
|
|
|
),
|
|
|
|
"librarian" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://codeberg.org/librarian/librarian#clearnet",
|
|
|
|
"original_name" => "Odysee",
|
|
|
|
"original_url" => "odysee.com"
|
|
|
|
),
|
|
|
|
|
|
|
|
"nitter" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/zedeus/nitter/wiki/Instances",
|
|
|
|
"original_name" => "Twitter",
|
|
|
|
"original_url" => "twitter.com"
|
|
|
|
),
|
|
|
|
|
|
|
|
"libreddit" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/spikecodes/libreddit",
|
|
|
|
"original_name" => "Reddit",
|
|
|
|
"original_url" => "reddit.com"
|
|
|
|
),
|
|
|
|
"proxitok" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/pablouser1/ProxiTok/wiki/Public-instances",
|
|
|
|
"original_name" => "TikTok",
|
|
|
|
"original_url" => "tiktok.com"
|
|
|
|
),
|
|
|
|
"wikiless" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/Metastem/wikiless#instances",
|
|
|
|
"original_name" => "Wikipedia",
|
2023-02-18 05:46:14 -08:00
|
|
|
"original_url" => "wikipedia.org"
|
2023-02-17 00:44:03 -08:00
|
|
|
),
|
|
|
|
"quetre" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/zyachel/quetre",
|
|
|
|
"original_name" => "Quora",
|
|
|
|
"original_url" => "quora.com"
|
|
|
|
),
|
|
|
|
"libremdb" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/zyachel/libremdb",
|
|
|
|
"original_name" => "IMDb",
|
|
|
|
"original_url" => "imdb.com"
|
|
|
|
),
|
|
|
|
"breezewiki" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://gitdab.com/cadence/breezewiki",
|
|
|
|
"original_name" => "Fandom",
|
|
|
|
"original_url" => "fandom.com"
|
|
|
|
),
|
|
|
|
"anonymousoverflow" => array(
|
|
|
|
"instance_url" => "",
|
|
|
|
"project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances",
|
|
|
|
"original_name" => "StackOverflow",
|
|
|
|
"original_url" => "stackoverflow.com"
|
|
|
|
)
|
|
|
|
),
|
2022-04-21 02:02:32 -07:00
|
|
|
|
2022-03-11 01:04:36 -08: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 => "",
|
2023-01-27 09:17:57 -08:00
|
|
|
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",
|
2022-03-11 01:04:36 -08:00
|
|
|
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
|
|
|
|
CURLOPT_CUSTOMREQUEST => "GET",
|
2022-05-15 01:34:46 -07:00
|
|
|
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
|
|
|
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
|
|
|
CURLOPT_MAXREDIRS => 5,
|
2022-09-03 10:45:47 -07:00
|
|
|
CURLOPT_TIMEOUT => 18,
|
2022-04-26 12:28:20 -07:00
|
|
|
CURLOPT_VERBOSE => false
|
2022-03-11 01:04:36 -08:00
|
|
|
)
|
2022-02-19 12:40:56 -08:00
|
|
|
);
|
2022-03-15 03:37:21 -07:00
|
|
|
?>
|