summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/GoogleTranslate.xml
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/https_rules/GoogleTranslate.xml')
-rw-r--r--searx/plugins/https_rules/GoogleTranslate.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/plugins/https_rules/GoogleTranslate.xml b/searx/plugins/https_rules/GoogleTranslate.xml
new file mode 100644
index 0000000..a004025
--- /dev/null
+++ b/searx/plugins/https_rules/GoogleTranslate.xml
@@ -0,0 +1,8 @@
+<ruleset name="Google Translate (broken)" default_off="redirect loops">
+ <target host="translate.googleapis.com" />
+ <target host="translate.google.com" />
+
+ <rule from="^http://translate\.googleapis\.com/" to="https://translate.googleapis.com/"/>
+ <rule from="^http://translate\.google\.com/"
+ to="https://translate.google.com/" />
+</ruleset>