Reuters

Back to top

Reuters (news) is an international news agency.

Configuration

The engine has the following additional settings:

- name: reuters
  engine: reuters
  shortcut: reu
  sort_order: "relevance"

Implementations

searx.engines.reuters.sort_order = 'relevance' : Sort order, one of relevance, display_date:desc or display_data:asc.

searx.engines.reuters.resize_url(thumbnail: dict[str, str], width: int = 0, height: int = 0) → str[source] : Generates a URL for Reuter’s thumbnail with the dimensions width and height. If no URL can be generated from the thumbnail data, an empty string will be returned.

width: default is *unset* (`0`)
:   Image width in pixels (negative values are ignored). If only width is
    specified, the height matches the original aspect ratio.

height: default is *unset* (`0`)
:   Image height in pixels (negative values are ignored). If only height is
    specified, the width matches the original aspect ratio.

The file size of a full-size image is usually several MB; when reduced to a
height of, for example, 80 points, only a few KB remain!

Fields of the *thumbnail data* (`result.articles.[<int>].thumbnail`):

thumbnail.url:
:   Is a full-size image (>MB).

thumbnail.width & .height:
:   Dimensions of the full-size image.

thumbnail.resizer\_url:
:   Reuters has a *resizer* [REST-API for the images](https://dev.arcxp.com/photo-center/image-resizer/resizer-v2-how-to-transform-images/#query-parameters), this is the URL of the
    service. This URL includes the `&auth` argument, other arguments are
    `&width=<int>` and `&height=<int>`.

Copyright © SearXNG team

Made with Furo

💾 🌐