Skip to content
A simple Python wrapper for the archive.is capturing service
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archiveis archive.vn → archive.fo Jul 2, 2019
.coveragerc v0.0.1 Oct 22, 2016
.gitignore setup Jul 2, 2019
.travis.yml
LICENSE v0.0.1 Oct 22, 2016
Makefile v0.0.1 Oct 22, 2016
Pipfile Updated requests requirement for security fix Jan 2, 2019
Pipfile.lock Travis config tweak Jul 3, 2019
README.md archive.vn → archive.fo Jul 2, 2019
requirements.txt Updated requests requirement for security fix Jan 2, 2019
setup.cfg v0.0.1 Oct 22, 2016
setup.py
test.py archive.vn → archive.fo Jul 2, 2019

README.md

archiveis

A simple Python wrapper for the archive.is capturing service.

PyPI version Build Status Coverage Status

Installation

$ pip install archiveis

Python Usage

Import it.

>>> import archiveis

Capture a URL.

>>> archive_url = archiveis.capture("http://www.example.com/")

See where it's stored.

>>> print archive_url
http://archive.fo/WxlRK

If a URL has been recently cached, archive.is may return the URL to that page rather than conduct a new capture.

Command-line usage

The Python library is also installed as a command-line interface. You can run it from your terminal like so:

$ archiveis http://www.example.com/

The command has the same options as the Python API, which you can learn about from its help output.

$ archiveis --help
Usage: archiveis [OPTIONS] URL

  Archives the provided URL using the archive.is capturing service.

Options:
  -ua, --user-agent TEXT  User-Agent header for the web request
  --help                  Show this message and exit.
You can’t perform that action at this time.