# 🏛 Wayback Sitemap Archive

![Build Status](https://github.com/plibither8/wayback-sitemap-archive/workflows/Wayback%20Sitemap%20Archiver/badge.svg)
![npm](https://img.shields.io/npm/v/wayback-sitemap-archive)

> Archive all pages specified in the webpage's sitemap to Internet Archive's Wayback Machine.

## Usage

This has been published as an [npm package](http://npmjs.com/package/wayback-sitemap-archive).

* Use without installing: `npx wayback-sitemap-archive <SITEMAP_URL>`
* Install globally using `npm install --global wayback-sitemap-archive`, then run using:
  * `wayback-sitemap-archive <SITEMAP_URL>`
  * `wsa <SITEMAP_URL>`

### Development

* Clone this repo.
* Install npm dependencies: `npm install`
* Change `SITEMAP_URL` to your sitemap or pass it as the command-line argument.
* Run the script: `node index ?<SITEMAP_URL>`

## License

[MIT](LICENSE)
