Commit graph

122 commits

Author SHA1 Message Date
Ahwx
0cd23c8e0d
feat: adding pulldown (merge pull request #50 from davidovski/language_dropdown)
Language selection dropdown
2023-09-09 19:46:12 +02:00
davidovski
049272c043 Fix typo in duckduckgo 2023-09-09 14:45:29 +01:00
davidovski
6a1dea2581 Use language list for wikipedia 2023-09-09 14:07:34 +01:00
davidovski
fa07f21f56 Move base_url parsing to print results 2023-09-06 12:23:59 +01:00
davidovski
c70436b257 Move checking for frontends to printing instead of parsing 2023-09-06 12:07:38 +01:00
Ahwx
dd8df71abd
feat: cache results to combat spammers (merge pull request #34 from davidovski/results_caching)
Results caching
2023-08-31 14:07:17 +02:00
davidovski
4a98228a90 Properly remove google request if on cooldown 2023-08-30 22:06:36 +01:00
davidovski
37f77e5e8d set default language 2023-08-30 21:47:22 +01:00
davidovski
bfe699d5ad Do not throw error if duckduck go query fails 2023-08-30 21:40:30 +01:00
davidovski
f8f30323ee do not avoid request if cached 2023-08-30 21:19:50 +01:00
davidovski
73c5b4b98e fix not respecting cooldown 2023-08-30 21:00:00 +01:00
davidovski
9d431ae8c0 Actually exec fallback requests 2023-08-30 20:50:23 +01:00
davidovski
ad747d51a1 Make fallback work when no results found 2023-08-30 18:11:17 +01:00
davidovski
a33f26a638 Add no instances message 2023-08-30 17:50:56 +01:00
davidovski
12f02198f9 Add no results messages 2023-08-30 17:26:34 +01:00
davidovski
a00da6eb65 Fix typo 2023-08-30 16:07:35 +01:00
davidovski
aaf111abf7 Always do no fallback on fallback requests 2023-08-30 16:05:31 +01:00
davidovski
4da025948b fix missing $ 2023-08-30 14:00:44 +01:00
davidovski
a8c4f4e609 Use caching for all requests 2023-08-30 13:50:01 +01:00
Revvy
46fe062bd3
fix when ads sometimes show up with ddg 2023-08-29 21:58:27 -04:00
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