Skip to main content

A Python package to submit web pages to the Wayback Machine for archiving.

Project description

Archivooor

Archivooor is a Python package for interacting with the archive.org API.

It's main purpose is to provide a convenient way to submit webpages to the Wayback Machine. Archivooor uses multithreading and automatic retries to ensure that webpages are archived successfully.

Installation and usage

Installation

Archivooor is available on PyPI:

python -m pip install archivooor

Usage

from archivooor.archiver import Archiver
from archivooor.archiver import Sitemap

archive = Archiver(s3_access_key="your_s3_access_key", s3_secret_key="your_s3_secret_key")
archive.save_pages(["https://example.com/","https://example.com/page1","https://example.com/page2"])

sitemap = Sitemap("https://www.sitemaps.org/sitemap.xml")
print(sitemap.extract_pages_from_sitemap())

License

MIT

Acknowledgements

@agude for writing the original python script this project is based on.

Donations

ko-fi

Ethereum Bitcoin
0x6b78d3deea258914C2f4e44054d22094107407e5 bc1qvvh8s3tt97cwy20mfdttpwqw0vgsrrceq8zkmw
eth btc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archivooor-0.0.8.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

archivooor-0.0.8-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file archivooor-0.0.8.tar.gz.

File metadata

  • Download URL: archivooor-0.0.8.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.8

File hashes

Hashes for archivooor-0.0.8.tar.gz
Algorithm Hash digest
SHA256 bc54131f5bb139989165acd159b5f354a4a9fec2dd2e788b777656a95e2a7d58
MD5 a2d2c8376f34ec1ce47bd70ff0db1c4d
BLAKE2b-256 28e0b71ddd122a9d082c63a14b04f40a867ed3dc85f9f957c329a96266dfe7b0

See more details on using hashes here.

File details

Details for the file archivooor-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for archivooor-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a373b602aba1f849f7ffa64fe9a22d5593af1a8a2ea83e1d127009917102a374
MD5 dec55c634e891f7cc4d1b3805b49f617
BLAKE2b-256 556aea73600d4518f944f9eb3ab5685739966c51095178700fa6bd136e88dd8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page