core.enricher#
Base module for Enrichers – modular components that enhance archived content by adding context, metadata, or additional processing.
These add additional information to the context, such as screenshots, hashes, and metadata. They are designed to work within the archiving pipeline, operating on Metadata objects after the archiving step and before storage or formatting.
Enrichers are optional but highly useful for making the archived data more powerful.
Module Contents#
- class core.enricher.Enricher#
Bases:
auto_archiver.core.BaseModuleBase classes and utilities for enrichers in the Auto Archiver system.
Enricher modules must implement the enrich method to define their behavior.
- abstract enrich(to_enrich: auto_archiver.core.Metadata) None#
Enriches a Metadata object with additional information or context.
Takes the metadata object to enrich as an argument and modifies it in place, returning None.