summaryrefslogtreecommitdiff
path: root/searx/query.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-09-09 12:17:58 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-12 15:25:58 +0200
commitdf12ed6e5563e9c78c98ca31ee11ce5fc508bc2a (patch)
treeea6271d1bee6e803e0200b7db50bd0b6d5ce56c4 /searx/query.py
parent2370234d0978f59dd62efa4a4931e41ad31444d1 (diff)
downloadsearxng-df12ed6e5563e9c78c98ca31ee11ce5fc508bc2a.tar.gz
searxng-df12ed6e5563e9c78c98ca31ee11ce5fc508bc2a.zip
[mod] searx.RawTextQuery: the constructor call parse_query
Diffstat (limited to 'searx/query.py')
-rw-r--r--searx/query.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/query.py b/searx/query.py
index ef323af7a..6eba2cbd6 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -45,10 +45,11 @@ class RawTextQuery:
self.timeout_limit = None
self.external_bang = None
self.specific = False
+ self._parse_query()
# parse query, if tags are set, which
# change the search engine or search-language
- def parse_query(self):
+ def _parse_query(self):
self.query_parts = []
# split query, including whitespaces