|
.oO SearXNG Developer Documentation Oo.
|
Functions | |
| init (_) | |
| request (query, params) | |
| parse_image_item (item) | |
| parse_video_item (item) | |
| parse_audio_item (item) | |
| response (resp) | |
Variables | |
| dict | about |
| list | categories = [] |
| bool | paging = True |
| bool | send_accept_language_header = True |
| int | results_per_page = 10 |
| str | base_url = "https://stock.adobe.com" |
| str | adobe_order = "" |
| list | ADOBE_VALID_TYPES = ["photo", "illustration", "zip_vector", "video", "template", "3d", "audio", "image"] |
| list | adobe_content_types = [] |
`Adobe Stock`_ is a service that gives access to millions of royalty-free
assets. Assets types include photos, vectors, illustrations, templates, 3D
assets, videos, motion graphics templates and audio tracks.
.. Adobe Stock: https://stock.adobe.com/
Configuration
=============
The engine has the following mandatory setting:
- SearXNG's :ref:`engine categories`
- Adobe-Stock's :py:obj:`adobe_order`
- Adobe-Stock's :py:obj:`adobe_content_types`
.. code:: yaml
- name: adobe stock
engine: adobe_stock
shortcut: asi
categories: [images]
adobe_order: relevance
adobe_content_types: ["photo", "illustration", "zip_vector", "template", "3d", "image"]
- name: adobe stock video
engine: adobe_stock
network: adobe stock
shortcut: asi
categories: [videos]
adobe_order: relevance
adobe_content_types: ["video"]
Implementation
==============
| searx.engines.adobe_stock.init | ( | _ | ) |
Definition at line 89 of file adobe_stock.py.
| searx.engines.adobe_stock.parse_audio_item | ( | item | ) |
Definition at line 185 of file adobe_stock.py.
Referenced by response().
| searx.engines.adobe_stock.parse_image_item | ( | item | ) |
Definition at line 135 of file adobe_stock.py.
Referenced by response().
| searx.engines.adobe_stock.parse_video_item | ( | item | ) |
Definition at line 149 of file adobe_stock.py.
Referenced by response().
| searx.engines.adobe_stock.request | ( | query, | |
| params ) |
Definition at line 113 of file adobe_stock.py.
| searx.engines.adobe_stock.response | ( | resp | ) |
Definition at line 203 of file adobe_stock.py.
References parse_audio_item(), parse_image_item(), and parse_video_item().
| dict searx.engines.adobe_stock.about |
Definition at line 44 of file adobe_stock.py.
| list searx.engines.adobe_stock.adobe_content_types = [] |
Definition at line 70 of file adobe_stock.py.
| str searx.engines.adobe_stock.adobe_order = "" |
Definition at line 60 of file adobe_stock.py.
| list searx.engines.adobe_stock.ADOBE_VALID_TYPES = ["photo", "illustration", "zip_vector", "video", "template", "3d", "audio", "image"] |
Definition at line 69 of file adobe_stock.py.
| str searx.engines.adobe_stock.base_url = "https://stock.adobe.com" |
Definition at line 58 of file adobe_stock.py.
| list searx.engines.adobe_stock.categories = [] |
Definition at line 53 of file adobe_stock.py.
| bool searx.engines.adobe_stock.paging = True |
Definition at line 54 of file adobe_stock.py.
| int searx.engines.adobe_stock.results_per_page = 10 |
Definition at line 56 of file adobe_stock.py.
| bool searx.engines.adobe_stock.send_accept_language_header = True |
Definition at line 55 of file adobe_stock.py.