Commit Graph

102 Commits

Author SHA1 Message Date
davidovski 039e549d4c Change default timeout to 25 minutes 2023-08-25 17:48:45 +01:00
davidovski f50022f780 added request cooldowns for google 2023-08-25 17:39:08 +01:00
davidovski 0fd041a353 Add timeouts for failing instances 2023-08-25 16:23:53 +01:00
davidovski 04e0183d79 Fix missing arg error 2023-08-25 00:10:03 +01:00
davidovski 036b10efe7 Add hl back into google query 2023-08-25 00:03:12 +01:00
davidovski 508ac0c576 Use cookie frontend over config frontend 2023-08-24 15:45:45 +01:00
davidovski 5ce0f2ccd0 fix video and image search 2023-08-24 03:57:11 +01:00
davidovski 8ede57f4f4 fix issue with not actually using duckduckgo 2023-08-23 02:32:47 +01:00
davidovski 1b898c6614 fallback on all queries 2023-08-23 00:46:21 +01:00
davidovski 649b0065e3 make some options editable via url parameters 2023-08-23 00:46:21 +01:00
davidovski 6c253bcb47 put all settings in single "opts" array 2023-08-23 00:46:21 +01:00
davidovski 4941a6aa58 use engine request for torrent search 2023-08-23 00:46:21 +01:00
davidovski 0bd726d897 moved files 2023-08-23 00:46:21 +01:00
davidovski 19627c94c9 add bittorrent and tor to be enginerequest types 2023-08-23 00:46:21 +01:00
davidovski 74da63dab2 Make search categories type of request 2023-08-23 00:46:21 +01:00
davidovski f59f94fdd5 include different print and fetch functions for search 2023-08-23 00:46:21 +01:00
davidovski fd93a0e154 Add EngineRequest class 2023-08-23 00:46:21 +01:00
davidovski 9ae13f41ad add fallback to duckduckgo engine 2023-08-20 01:52:29 +01:00
davidovski 9980f3a9e7 use prefered engine on api 2023-08-20 00:34:22 +01:00
davidovski ae9d706a4b extend number of tries for fallback 2023-08-19 20:16:43 +01:00
davidovski 8e8c718237 fix error when displaying no text results 2023-08-19 19:51:34 +01:00
davidovski d556296c5a add no fallback option to requests 2023-08-19 19:23:54 +01:00
davidovski 423de89bd8 Fix passing quotation marks to google searches 2023-08-19 01:54:48 +01:00
Ahwx be59098abd
fix: docker shit, wikipedia vuln pointed out via email by Yufan You (merge pull request #9 from codedipper/main) 2023-08-17 23:59:48 +02:00
Revvy edbc23f124 Thank you random Chinese student! 2023-08-17 14:27:25 -04:00
davidovski 78c774bc3b Style did you mean text 2023-08-17 14:33:26 +01:00
davidovski d409d61a6b Add did you mean to results output 2023-08-17 14:33:26 +01:00
Revvy 6d78488f65 fix ddg search when zero-click result is present 2023-08-14 20:45:02 -04:00
Ahwxorg 2ca9603121
feat: adding fallback to other instances if rate limiting happens, PR from davidovski/librex.
Fallback to other librex instances
2023-08-12 02:12:37 +02:00
Revvy 678a625696 hnhx/librex#259 2023-08-07 17:42:45 -04:00
Revvy 6241c2491d #234 from hnhx/librex 2023-08-07 17:39:53 -04:00
davidovski 05a52f5f62 Filter reqests to self on fallback 2023-08-07 18:47:01 +01:00
davidovski f737730e40 Copy settings cookies when making a call to other instance 2023-08-07 18:47:01 +01:00
davidovski 19aef64bab Don't accept a fallback instance with a single result 2023-08-07 18:47:01 +01:00
davidovski 4aea931839 Remove automtic redirection setting 2023-08-07 18:47:01 +01:00
davidovski b97c4daac7 Try different instance if fallback fails 2023-08-07 18:47:01 +01:00
davidovski e4fe769c10 Use librex as fallback search engine 2023-08-07 18:47:01 +01:00
davidovski 34feaa27ea Fix checkboxes not unchecking when saving 2023-08-07 18:47:01 +01:00
davidovski cce8aca6e5 Add disable automatic redirection setting 2023-08-07 18:46:59 +01:00
Ahwxorg 6a71de282c
feat(engines/google/text.php): remove random redirection because of privacy concerns 2023-08-02 14:00:32 +02:00
hnhx e11a20cedf
Merge pull request #235 from amogusussy/fix-rutor
Fix rutor's size and seed/leech number.
2023-06-24 08:51:30 +00:00
gospodin e03b930386 moved to redirect earlier, fixed formatting issues 2023-06-11 03:47:19 +03:00
gospodin 7559bc8101 Redirect to random instance if google is ratelimiting 2023-06-10 19:53:58 +03:00
amogusussy bb5c370205 fix rutor 2023-06-04 16:08:05 +01:00
rafalohaki f34549b972
Update sukebei.php
Modified the get_sukebei_results() function to handle cases where the name and magnet nodes are null or do not exist.
Added conditional statements to check if the name and magnet nodes exist before attempting to access their properties, in order to prevent null errors and warnings.
Added empty string as the default value for name and magnet variables in case their corresponding nodes are null or do not exist.
Removed the use of deprecated functions explode() and htmlspecialchars() in the code.
No longer accessing the textContent property of DOMXPath::evaluate().
2023-04-09 01:24:39 +02:00
rafalohaki c13228e240
Update sukebei.php
textContent, XPath expression fix
2023-04-09 01:19:53 +02:00
hnhx d04315009e added number of results option, fixed a theme name 2023-03-24 09:39:52 +01:00
Junior L. Botelho (JLB) 0ef03edcb1
refactor: solve error request due to invalid request protocol 2023-03-07 18:35:16 -03:00
Junior L. Botelho (JLB) 659c8116c9
feat: add wikipedia.php language cookie config 2023-02-21 09:06:50 -03:00
Junior L. Botelho (JLB) 4194f9ae57
feat: add wikipedia language option in /settings route 2023-02-19 09:38:26 -03:00