mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 09:49:21 +02:00
[mod] https rewrite pluginification
This commit is contained in:
parent
146928a749
commit
d2a636f75d
41 changed files with 29 additions and 26 deletions
|
@ -14,13 +14,15 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
|
|||
|
||||
(C) 2015 by Adam Tauber, <asciimoo@gmail.com>
|
||||
'''
|
||||
from searx.plugins import (self_ip,
|
||||
search_on_category_select)
|
||||
from searx import logger
|
||||
from sys import exit
|
||||
from searx import logger
|
||||
|
||||
logger = logger.getChild('plugins')
|
||||
|
||||
from searx.plugins import (https_rewrite,
|
||||
self_ip,
|
||||
search_on_category_select)
|
||||
|
||||
required_attrs = (('name', str),
|
||||
('description', str),
|
||||
('default_on', bool))
|
||||
|
@ -68,5 +70,6 @@ class PluginStore():
|
|||
|
||||
|
||||
plugins = PluginStore()
|
||||
plugins.register(https_rewrite)
|
||||
plugins.register(self_ip)
|
||||
plugins.register(search_on_category_select)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue