Skip to content

update readme with instructions to get wayback capture url #146

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions wayback-cdx-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ At this time, the following cdx fields are publicly available:

`["urlkey","timestamp","original","mimetype","statuscode","digest","length"]`

To get the HTML of the capture, the URL is formatted as follows: `http://web.archive.org/web/</TIMESTAMP>/</URL>`

To get the original page back (without the Wayback Machine rewriting URLs on the page to point into the Archive), you can suffix the timestamp with `id_`, as follows: `http://web.archive.org/web/</TIMESTAMP>id_/</URL>`

It is possible to customize the [Field Order](#field-order) as well.

The the **url=** value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) if the url itself contains a query.
Expand Down