Skip to content
Back to top
View this page
Edit this page

# Anna’s Archive

Anna’s Archive is a free non-profit online shadow library metasearch engine providing access to a variety of book resources (also via IPFS), created by a team of anonymous archivists (AnnaArchivist).

## Configuration

The engine has the following additional settings:

- `aa_content`

- `aa_ext`

- `aa_sort`

With this options a SearXNG maintainer is able to configure additional engines for specific searches in Anna’s Archive. For example a engine to search for newest articles and journals (PDF) / by shortcut `!aaa <search-term>`.

    - name: annas articles
      engine: annas_archive
      categories = ["general", "articles"]
      shortcut: aaa
      aa_content: "magazine"
      aa_ext: "pdf"
      aa_sort: "newest"

## Implementations

searx.engines.annas_archive.base_url: list [ str ] | str = []

  List of Anna’s archive domains or a single domain (as string).

searx.engines.annas_archive.aa_content: str = ''

  Anan’s search form field Content / possible values:

      book_fiction, book_unknown, book_nonfiction,
      book_comic, magazine, standards_document

  To not filter use an empty string (default).

searx.engines.annas_archive.aa_sort: str = ''

  Sort Anna’s results, possible values:

      newest, oldest, largest, smallest, newest_added, oldest_added, random

  To sort by most relevant use an empty string (default).

searx.engines.annas_archive.aa_ext: str = ''

  Filter Anna’s results by a file ending. Common filters for example are `pdf` and `epub`.

  Note

  Anna’s Archive is a beta release: Filter results by file extension does not really work on Anna’s Archive.

searx.engines.annas_archive.setup(_engine_settings: dict [ str , Any ]) → bool

  Check of engine’s settings.

searx.engines.annas_archive.fetch_traits(engine_traits: EngineTraits ) → None

  Fetch languages and other search arguments from Anna’s search form.