Allow sign-in with archive.org to optionally save page to personal archive
I've looked into this and it looks like the Wayback Machine has two ways to save pages to a user's personal archive.
1 - Post request to web.archive.org/save/ with the following form data:
url=https://example.com/ (encoded)
wm-save-mywebarchive=on
target_username=
target_password=
This request will archive a page and save it to the user's personal archive. Would require major code update to implement.
2 - Post request to web.archive.org/__wb/web-archive/ with following JSON payload:
{
"url": "https://example.com/",
"snapshot": "20190423140825",
"tags": [
]
}
This request saves a page to the user's personal archive. A JSON response is returned reporting the status of the request. Example:
{
"task_id": null,
"success": true
}
Can I ask if there is something blocking this? I see you implemented it in #72 but closed it?
Is there an api to verify that you are signed in to archive.org? So that you can debug when the request is unsuccessful because access to the personal archive is not available versus the saving of the page is unsuccessful?