diff --git a/docs/admin/api.rst b/docs/admin/api.rst index 8f4552f9c..8bd563ba7 100644 --- a/docs/admin/api.rst +++ b/docs/admin/api.rst @@ -84,9 +84,9 @@ HTML of the site. URL of the SearXNG instance and values are customizable. .. code:: html
diff --git a/searx/botdetection/link_token.py b/searx/botdetection/link_token.py index 7a484d6d5..8f8e9839c 100644 --- a/searx/botdetection/link_token.py +++ b/searx/botdetection/link_token.py @@ -28,7 +28,7 @@ And in the HTML template from flask a stylesheet link is needed (the value of + type="text/css" > .. _X-Forwarded-For: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py index 193785182..5743f4142 100644 --- a/searx/engines/btdigg.py +++ b/searx/engines/btdigg.py @@ -54,7 +54,6 @@ def response(resp): excerpt = result.xpath('.//div[@class="torrent_excerpt"]')[0] content = html.tostring(excerpt, encoding='unicode', method='text', with_tail=False) - # it is better to emit