Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
42 lines (26 loc) · 1.72 KB

File metadata and controls

42 lines (26 loc) · 1.72 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

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

Ethereum Bitcoin
0x6b78d3deea258914C2f4e44054d22094107407e5 bc1qvvh8s3tt97cwy20mfdttpwqw0vgsrrceq8zkmw
eth btc
Morty Proxy This is a proxified and sanitized view of the page, visit original site.