save-page-now-api
A Python wrapper for Internet Archive Wayback Machine's Save Page Now API.
Feature
- Easy to Use: Provides a simple interface to interact with the Save Page Now API.
- Customizable SPN Host and Proxy: Allows specifying a custom SPN host and proxy settings, enabling use with services like Tor.
Usage
Send a save request to SPN:
from save_page_now_api import SavePageNowApi
api = SavePageNowApi(token="XXX:YYY")
result = api.save("https://example.com")
"""
result:
{
'url': 'https://example.com',
'job_id': 'spn2-XXXXXXXXXXXXXX'
}
"""
API with Tor:
proxies = {
"http": "schema://host:port",
"https": "schema://host:port",
}
tor_api = SavePageNowApi(token="XXX:YYY", host="https://ZZZ.onion", proxies=proxies)
Installation
pip install save-page-now-api
Test
python -m unittest
Metadata
Release files for save-page-now-api 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| save_page_now_api-0.1.2.tar.gz | 24.0 kB | Without provenance | Details for save_page_now_api-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| save_page_now_api-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for save_page_now_api-0.1.2-py3-none-any.whl |
Total release size: 43.4 kB
Release files / save_page_now_api-0.1.2.tar.gz
| Download URL | save_page_now_api-0.1.2.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2febfb1ae0e3643f6cd69bd57e2ed891b841e4666ddb38e9d9f3a7f3384d6a58
|
|
BLAKE2b-256 checksum How to use checksums |
46cbfae208ecfea5b37243150f558202a289ee98e8c365aea52bc74160af03c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / save_page_now_api-0.1.2-py3-none-any.whl
| Download URL | save_page_now_api-0.1.2-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebf9ff480ebe2df7ae4309e62109235ea39f75f8a0b3158ba65865bd147a450b
|
|
BLAKE2b-256 checksum How to use checksums |
72d235ee38d88d5a3f21c2c71990b71c46c914439eef61653c182eb84f96a82f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for save-page-now-api 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.