internetarchive / wayback

IA's public Wayback Machine (moved from SourceForge)
721 stars 131 forks source link

Does closest timestamp match work? #169

Open zhanghaoie opened 6 years ago

zhanghaoie commented 6 years ago

I have found that the cdx server has closest timestamp match in the tutorial, but I have not found any keywords for it. Could you tell me how to use it?

akamhy commented 2 years ago

The param is closest.

And the usage is:

https://web.archive.org/cdx/search/cdx?url=google.com&limit=1&closest=20101010101010

PS: Don't waste your time trying to use it. It doesn't work as intended. Use the Availability API instead.

akamhy commented 2 years ago

After hours of reading docs and codebase, I found the solution. Ignore my last comment.

See https://github.com/internetarchive/wayback/issues/237#issuecomment-1042577291

And close the issue if this resolves your query.