Skip to main content

get-wayback-machine Build Status PyPI PyPI - Python Version

Fetch a URL via the latest Wayback Machine Snapshot.

Why?

Occasionally, you have a given URL that it is not online anymore. You may still access it's content via the Internet Archive's Wayback Machine.

Install

pip install get_wayback_machine

Usage

import get_wayback_machine

response = get_wayback_machine.get('https://en.wikipedia.org')
if response:
    print(response.status_code)

The response is either None (for fails) or a Requests response. This module uses get-retries internally to fetch the data.

Related

License

MIT.

Metadata

Release files for get-wayback-machine 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-wayback-machine 0.1.2
File Size Uploaded
get_wayback_machine-0.1.2.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for get-wayback-machine 0.1.2
File Interpreter ABI Platform
get_wayback_machine-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / get_wayback_machine-0.1.2.tar.gz

Download URL get_wayback_machine-0.1.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3bd330c7109711ce1f8cdd23200b5b1de10900996075f33e93534e5f95d5e588
BLAKE2b-256 checksum
How to use checksums
9926edbf0a6ad6f261aa2691c130776999852e5b2222f037b190d65756d6542f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release files / get_wayback_machine-0.1.2-py3-none-any.whl

Download URL get_wayback_machine-0.1.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1354aeab2fb9f2acdc3e8faef8aed3f4270a6626f04d19cd7a7c50e8b05eca80
BLAKE2b-256 checksum
How to use checksums
1e051266ccdb2d2302f2b07b11eeab27f09c9c2692e6f0b4383a19e88444808e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page