1.0.4 • Published 4 years ago

webarchive-page-downloader v1.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

web.archive.org page downloader

Get archive history of a page and download pages from web.archive.org

Get history

import {
  getPageArchiveHistory,
  getArchivedPage
} from 'webarchive-page-downloader'

// ...

const history = await getPageArchiveHistory('www.google.com')

/*
{
  urlKey: 'com,google)/',
  timestamp: 19981111184551,
  originalUrl: 'http://google.com:80/',
  mimeType: 'text/html',
  statusCode: 200,
  digest: 'HOQ2TGPYAEQJPNUA6M4SMZ3NGQRBXDZ3',
  length: 381
}
...
*/

Download page at timestamp

const pageContent = await getArchivedPage('www.google.com', 19981111184551)
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago