Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sign-in with archive.org to optionally save page to personal archive #69

Open
jasikpark opened this issue Apr 17, 2019 · 3 comments

Comments

@jasikpark
Copy link

No description provided.

@VerifiedJoseph VerifiedJoseph changed the title Feature Request: allow sign-in with archive.org to optionally save page to personal archive Allow sign-in with archive.org to optionally save page to personal archive Apr 17, 2019
@VerifiedJoseph
Copy link
Owner

VerifiedJoseph commented Apr 23, 2019

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
}

@tonglil
Copy link

tonglil commented Jun 11, 2020

Can I ask if there is something blocking this? I see you implemented it in #72 but closed it?

@jasikpark
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@tonglil @jasikpark @VerifiedJoseph and others