mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-03 11:31:32 +05:30
Synced
Added kuuro theme (0bdd5e73df) Added baidu, the best search engine (f43feff0aa/scraper/baidu.php) Forgot the settings damn it (0f803804a4) Forgot the config fucking dementiacatwill (2b8d90af12)
This commit is contained in:
parent
fca29353aa
commit
42639cf7d7
4 changed files with 2265 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ class config{
|
|||
|
||||
// Default user agent to use for scraper requests. Sometimes ignored to get specific webpages
|
||||
// Changing this might break things.
|
||||
const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0";
|
||||
const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0";
|
||||
|
||||
// Proxy pool assignments for each scraper
|
||||
// false = Use server's raw IP
|
||||
|
|
@ -119,6 +119,7 @@ class config{
|
|||
const PROXY_GOOGLE_CSE = false;
|
||||
const PROXY_STARTPAGE = false;
|
||||
const PROXY_QWANT = false;
|
||||
const PROXY_BAIDU = false;
|
||||
const PROXY_GHOSTERY = false;
|
||||
const PROXY_MARGINALIA = false;
|
||||
const PROXY_MOJEEK = false;
|
||||
|
|
|
|||
2229
scraper/baidu.php
Normal file
2229
scraper/baidu.php
Normal file
File diff suppressed because it is too large
Load diff
18
settings.php
18
settings.php
|
|
@ -169,6 +169,10 @@ $settings = [
|
|||
"value" => "mojeek",
|
||||
"text" => "Mojeek"
|
||||
],
|
||||
[
|
||||
"value" => "baidu",
|
||||
"text" => "Baidu"
|
||||
],
|
||||
[
|
||||
"value" => "solofield",
|
||||
"text" => "Solofield"
|
||||
|
|
@ -223,6 +227,10 @@ $settings = [
|
|||
"value" => "yep",
|
||||
"text" => "Yep"
|
||||
],
|
||||
[
|
||||
"value" => "baidu",
|
||||
"text" => "Baidu"
|
||||
],
|
||||
[
|
||||
"value" => "solofield",
|
||||
"text" => "Solofield"
|
||||
|
|
@ -285,6 +293,10 @@ $settings = [
|
|||
"value" => "qwant",
|
||||
"text" => "Qwant"
|
||||
],
|
||||
[
|
||||
"value" => "baidu",
|
||||
"text" => "Baidu"
|
||||
],
|
||||
[
|
||||
"value" => "solofield",
|
||||
"text" => "Solofield"
|
||||
|
|
@ -322,6 +334,10 @@ $settings = [
|
|||
[
|
||||
"value" => "mojeek",
|
||||
"text" => "Mojeek"
|
||||
],
|
||||
[
|
||||
"value" => "baidu",
|
||||
"text" => "Baidu"
|
||||
]
|
||||
]
|
||||
],
|
||||
|
|
@ -574,4 +590,4 @@ if(count($_GET) === 0){
|
|||
"left" => $left
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
17
static/themes/Kuuro.css
Normal file
17
static/themes/Kuuro.css
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
:root{
|
||||
--1d2021: #101010;
|
||||
--282828: #1a1a1a;
|
||||
--3c3836: #1e1e1e;
|
||||
--504945: #232323;
|
||||
|
||||
--928374: #949494;
|
||||
--a89984: #d2d2d2;
|
||||
--bdae93: #d2d2d2;
|
||||
--8ec07c: #99c794;
|
||||
--ebdbb2: #d2d2d2;
|
||||
|
||||
--comment: #5f6364;
|
||||
--default: #cccece;
|
||||
--keyword: #c594c5;
|
||||
--string: #99c794;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue