forked from Archives/searxng
Add searx_extra package
Split the utils directory into: * searx_extra contains update scripts, standalone_searx.py * utils contains the files to build and setup searx.dependabot/pip/master/sphinx-6.1.3
parent
111d38cd8f
commit
b8cd326464
@ -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
|
#!/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 json
|
||||||
import requests
|
import requests
|
||||||
import re
|
import re
|
||||||
|
from os.path import dirname, join
|
||||||
from urllib.parse import urlparse, urljoin
|
from urllib.parse import urlparse, urljoin
|
||||||
from distutils.version import LooseVersion, StrictVersion
|
from distutils.version import LooseVersion, StrictVersion
|
||||||
from lxml import html
|
from lxml import html
|
Loading…
Reference in New Issue