mirror of https://github.com/searx/searx
Browse Source
Split the utils directory into: * searx_extra contains update scripts, standalone_searx.py * utils contains the files to build and setup searx.pull/2600/head
21 changed files with 47 additions and 75 deletions
@ -0,0 +1,14 @@ |
|||
.. _searx_extra: |
|||
|
|||
====================================================== |
|||
Tooling box ``searx_extra`` for developers and users |
|||
====================================================== |
|||
|
|||
In the folder :origin:`searx_extra/` we maintain some tools useful for |
|||
developers and users. |
|||
|
|||
.. toctree:: |
|||
:maxdepth: 2 |
|||
:caption: Contents |
|||
|
|||
standalone_searx.py |
@ -0,0 +1,9 @@ |
|||
|
|||
.. _standalone_searx.py: |
|||
|
|||
=================================== |
|||
``searx_extra/standalone_searx.py`` |
|||
=================================== |
|||
|
|||
.. automodule:: searx_extra.standalone_searx |
|||
:members: |
@ -1,11 +0,0 @@ |
|||
|
|||
.. _standalone_searx.py: |
|||
|
|||
============================= |
|||
``utils/standalone_searx.py`` |
|||
============================= |
|||
|
|||
.. automodule:: standalone_searx |
|||
:members: |
|||
|
|||
|
@ -1,14 +1,9 @@ |
|||
#!/usr/bin/env python |
|||
|
|||
# set path |
|||
from sys import path |
|||
from os.path import realpath, dirname, join |
|||
path.append(realpath(dirname(realpath(__file__)) + '/../')) |
|||
|
|||
# |
|||
import json |
|||
import requests |
|||
import re |
|||
from os.path import dirname, join |
|||
from urllib.parse import urlparse, urljoin |
|||
from distutils.version import LooseVersion, StrictVersion |
|||
from lxml import html |
Loading…
Reference in new issue