Metadata-Version: 2.1
Name: archivooor
Version: 0.0.7
Summary: A Python package to submit web pages to the Wayback Machine for archiving.
Home-page: https://github.com/Barabazs/archivooor
License: MIT
Author: Barabazs
Author-email: 31799121+Barabazs@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: keyring (>=25.2.1,<26.0.0)
Requires-Dist: requests (>=2.32.1,<3.0.0)
Requires-Dist: urllib3 (>=1.26.18,<2.0.0)
Project-URL: Repository, https://github.com/Barabazs/archivooor
Description-Content-Type: text/markdown

# 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

```python
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](https://github.com/Barabazs/archivooor/blob/main/LICENSE)

## Acknowledgements
[@agude](https://github.com/agude) for writing the original [python script](https://github.com/agude/wayback-machine-archiver) this project is based on.


## Donations

[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/T6T51XKUJ)

|Ethereum|Bitcoin|
|:-:	|:-:	|
|0x6b78d3deea258914C2f4e44054d22094107407e5|bc1qvvh8s3tt97cwy20mfdttpwqw0vgsrrceq8zkmw|
|![eth](https://raw.githubusercontent.com/Barabazs/Barabazs/master/.github/eth.png)|![btc](https://raw.githubusercontent.com/Barabazs/Barabazs/master/.github/btc.png)|

