Giter Club home page Giter Club logo

Comments (1)

akamhy avatar akamhy commented on August 23, 2024

Okay just adding the sort=closest does the trick.

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

com,google)/ 20101010101435 http://google.com/ text/html 301 Y6PVK4XWOI3BXQEXM5WLLWU5JKUVNSFZ 391
com,google)/ 20101010101708 http://www.google.com/ text/html 200 VVJZP2BZS57IXIVZPTJFF4BHQWDPJPYL 4465
com,google)/ 20101010102540 http://www.google.com/ text/html 200 J6B2672FIMVFJWL63Q5L345UAYZ26JIU 4465
com,google)/ 20101010095238 https://www.google.com/ text/html 200 CBUYIGCAH4GRTWXV2FDOVTA3L6XSJR3D 3811
com,google)/ 20101010092939 http://www.google.com/ text/html 200 RBYAA4YNIQFMPCLFXYIMXE6RA7LE53KT 4404

Where did I find the solution?
I was reading the source for bugs but I have never written a single line of Java yet and I was hoping that some might have introduced an error that just read the first four characters of the timestamp.

Then I started looking for docs and found https://github.com/iipc/openwayback/blob/master/README.md, recommends using https://github.com/Webrecorder/pywb and at https://pywb.readthedocs.io/en/latest/manual/migrating-cdx.html they mention OutbackCDX and docs for https://nla.github.io/outbackcdx/api.html#operation/query clearly mentions the following.

closest integer
Example: "20030402172120"
Timestamp for sort=closest mode

from wayback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.