summaryrefslogtreecommitdiff
path: root/searx/engines/google_videos.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-21 20:12:07 +0200
committerGitHub <noreply@github.com>2021-06-21 20:12:07 +0200
commitf3e56836d6481f9807ac232b71c584c0535de783 (patch)
treeb3fea3bd4029eb05e081f8d035a77a86a04ddcda /searx/engines/google_videos.py
parentf4da4bafa75842d3a8171343f10f244a42fbdd30 (diff)
parent0ef6aa51265c41a77d504f858c3c0c13eff448c2 (diff)
Merge pull request #165 from return42/patch-google
improve & document google engine
Diffstat (limited to 'searx/engines/google_videos.py')
-rw-r--r--searx/engines/google_videos.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py
index c57db4e63..3747e85a5 100644
--- a/searx/engines/google_videos.py
+++ b/searx/engines/google_videos.py
@@ -1,19 +1,14 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Google (Video)
+"""This is the implementation of the google videos engine.
-For detailed description of the *REST-full* API see: `Query Parameter
-Definitions`_. Not all parameters can be appied.
-
-.. _admonition:: Content-Security-Policy (CSP)
+.. admonition:: Content-Security-Policy (CSP)
This engine needs to allow images from the `data URLs`_ (prefixed with the
- ``data:` scheme).::
+ ``data:`` scheme)::
Header set Content-Security-Policy "img-src 'self' data: ;"
-.. _Query Parameter Definitions:
- https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
.. _data URLs:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs