Restructured settings logic and loading; translate fix

This commit is contained in:
2023-07-29 23:42:59 -05:00
parent 60bfa52af6
commit 826b58cfc4
41 changed files with 581 additions and 267 deletions

View File

@@ -52,7 +52,7 @@ class Plugin(PluginBase):
'Cache-Control': 'no-cache'
}
self.vqd_link = "https://duckduckgo.com/"
self.vqd_link = "https://duckduckgo.com/?hps=1&q=translate&ia=web"
self.vqd_data = {"q": "translate", "ia":"web"}
self.vqd_headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0',