wayback_extractor_enricher#

Submodules#

Package Contents#

class wayback_extractor_enricher.WaybackExtractorEnricher#

Bases: auto_archiver.core.Enricher, auto_archiver.core.Extractor

Submits the current URL to the webarchive and returns a job_id or completed archive.

The Wayback machine will rate-limit IP heavy usage.

download(item: auto_archiver.core.Metadata) auto_archiver.core.Metadata#

Downloads the media from the given URL and returns a Metadata object with the downloaded media.

If the URL is not supported or the download fails, this method should return False.

enrich(to_enrich: auto_archiver.core.Metadata) bool#

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.