[{"data":1,"prerenderedAt":368},["ShallowReactive",2],{"navigation_docs":3,"-providers-nlnz":104,"-providers-nlnz-surround":363},[4,44],{"title":5,"path":6,"stem":7,"children":8,"icon":43},"Guide","\u002Fguide","1.guide\u002F1.index",[9,11,15,19,23,27,31,35,39],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Listing Captures","\u002Fguide\u002Fsnapshots","1.guide\u002F2.snapshots",{"title":16,"path":17,"stem":18},"Reading Captures","\u002Fguide\u002Fcontent","1.guide\u002F3.content",{"title":20,"path":21,"stem":22},"Comparing Versions","\u002Fguide\u002Fdiff","1.guide\u002F4.diff",{"title":24,"path":25,"stem":26},"Configuration","\u002Fguide\u002Fconfiguration","1.guide\u002F5.configuration",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F6.agents",{"title":32,"path":33,"stem":34},"Custom Providers","\u002Fguide\u002Fcustom","1.guide\u002F7.custom",{"title":36,"path":37,"stem":38},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F8.explorer",{"title":40,"path":41,"stem":42},"WebMCP Evidence Room","\u002Fguide\u002Fwebmcp","1.guide\u002F9.webmcp","i-lucide-book-open",{"title":45,"path":46,"stem":47,"children":48,"icon":103},"Providers","\u002Fproviders","2.providers\u002F0.index",[49,51,55,59,63,67,71,75,79,83,87,91,95,99],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Wayback Machine","\u002Fproviders\u002Fwayback","2.providers\u002F01.wayback",{"title":56,"path":57,"stem":58},"Arquivo.pt","\u002Fproviders\u002Farquivo","2.providers\u002F02.arquivo",{"title":60,"path":61,"stem":62},"Webarchiv Österreich","\u002Fproviders\u002Fwebarchiv","2.providers\u002F03.webarchiv",{"title":64,"path":65,"stem":66},"Vefsafn","\u002Fproviders\u002Fvefsafn","2.providers\u002F04.vefsafn",{"title":68,"path":69,"stem":70},"OSZK Webarchívum","\u002Fproviders\u002Foszk","2.providers\u002F05.oszk",{"title":72,"path":73,"stem":74},"New Zealand Web Archive","\u002Fproviders\u002Fnlnz","2.providers\u002F06.nlnz",{"title":76,"path":77,"stem":78},"Archive.today","\u002Fproviders\u002Farchive-today","2.providers\u002F07.archive-today",{"title":80,"path":81,"stem":82},"Common Crawl","\u002Fproviders\u002Fcommoncrawl","2.providers\u002F08.commoncrawl",{"title":84,"path":85,"stem":86},"WebCite","\u002Fproviders\u002Fwebcite","2.providers\u002F09.webcite",{"title":88,"path":89,"stem":90},"Memento","\u002Fproviders\u002Fmemento","2.providers\u002F10.memento",{"title":92,"path":93,"stem":94},"Archive-It","\u002Fproviders\u002Farchive-it","2.providers\u002F11.archive-it",{"title":96,"path":97,"stem":98},"Conifer","\u002Fproviders\u002Fconifer","2.providers\u002F12.conifer",{"title":100,"path":101,"stem":102},"Perma.cc","\u002Fproviders\u002Fpermacc","2.providers\u002F13.permacc","i-lucide-library",{"id":105,"title":72,"body":106,"description":356,"extension":357,"links":358,"meta":359,"navigation":156,"path":73,"seo":361,"stem":74,"__hash__":362},"docs\u002F2.providers\u002F06.nlnz.md",{"type":107,"value":108,"toc":349},"minimark",[109,113,118,210,214,228,255,270,274,285,304,307,311,336,340,345],[110,111],"provider-facts",{"slug":112},"nlnz",[114,115,117],"h2",{"id":116},"load-it","Load it",[119,120,125],"pre",{"className":121,"code":122,"language":123,"meta":124,"style":124},"language-ts shiki shiki-themes archives archives archives","import { createArchive, providers } from \"@agntn\u002Farchives\";\n\nconst archive = createArchive(providers.nlnz());\nconst response = await archive.snapshots(\"natlib.govt.nz\");\n","ts","",[126,127,128,151,158,182],"code",{"__ignoreMap":124},[129,130,133,137,141,144,148],"span",{"class":131,"line":132},"line",1,[129,134,136],{"class":135},"skH_V","import",[129,138,140],{"class":139},"s38Sx"," { createArchive, providers } ",[129,142,143],{"class":135},"from",[129,145,147],{"class":146},"shU9J"," \"@agntn\u002Farchives\"",[129,149,150],{"class":139},";\n",[129,152,154],{"class":131,"line":153},2,[129,155,157],{"emptyLinePlaceholder":156},true,"\n",[129,159,161,164,167,170,174,177,179],{"class":131,"line":160},3,[129,162,163],{"class":135},"const",[129,165,166],{"class":139}," archive ",[129,168,169],{"class":135},"=",[129,171,173],{"class":172},"sK71F"," createArchive",[129,175,176],{"class":139},"(providers.",[129,178,112],{"class":172},[129,180,181],{"class":139},"());\n",[129,183,185,187,190,192,195,198,201,204,207],{"class":131,"line":184},4,[129,186,163],{"class":135},[129,188,189],{"class":139}," response ",[129,191,169],{"class":135},[129,193,194],{"class":135}," await",[129,196,197],{"class":139}," archive.",[129,199,200],{"class":172},"snapshots",[129,202,203],{"class":139},"(",[129,205,206],{"class":146},"\"natlib.govt.nz\"",[129,208,209],{"class":139},");\n",[114,211,213],{"id":212},"what-it-lists","What it lists",[215,216,217,219,220,223,224,227],"p",{},[126,218,200],{}," asks ",[126,221,222],{},"ndhadeliver.natlib.govt.nz\u002Fwebarchive\u002Fcdx"," and gets NDJSON back. It's pywb again, so a bare domain is a prefix. ",[126,225,226],{},"natlib.govt.nz"," lists the whole site, back to a front page from July 2004. A thousand rows come back in about three seconds. Not bad for the other side of the planet.",[215,229,230,231,234,235,238,239,242,243,246,247,250,251,254],{},"Rows carry ",[126,232,233],{},"status",", ",[126,236,237],{},"mime"," and ",[126,240,241],{},"digest"," in ",[126,244,245],{},"_meta",". ",[126,248,249],{},"length"," stays out on purpose. The index writes ",[126,252,253],{},"\"0\""," there for almost every record, and a zero that means \"no idea\" is worse than nothing.",[215,256,257,234,260,238,262,265,266,269],{},[126,258,259],{},"limit",[126,261,143],{},[126,263,264],{},"to"," behave. ",[126,267,268],{},"limit=0"," still means \"everything\" to pywb, so the provider never sends it.",[114,271,273],{"id":272},"why-cant-it-read-a-capture","Why can't it read a capture?",[215,275,276,277,280,281,284],{},"Because the replay sits behind Imperva. A script asking for ",[126,278,279],{},"\u002Fwebarchive\u002F\u003Ctimestamp>id_\u002F\u003Curl>"," gets a JavaScript challenge page. With status ",[126,282,283],{},"200",", of course. Headless Chromium does no better. Read that naively and you'd get a very confident capture of a bot check.",[215,286,287,288,291,292,295,296,299,300,303],{},"So ",[126,289,290],{},"content()"," doesn't try. It answers ",[126,293,294],{},"unsupported"," and says why, and ",[126,297,298],{},"providers.all()"," moves on to an archive that does serve bodies. The ",[126,301,302],{},"snapshot"," link points at the archive's own playback page, behind the same check. Whether it lets you in is between you and Imperva.",[215,305,306],{},"The CDX index passes the same CDN today. If Imperva ever starts challenging it too, listings fail as a malformed CDX record, not as an empty success.",[114,308,310],{"id":309},"gotchas","Gotchas",[312,313,314,326,333],"ul",{},[315,316,317,318,321,322,325],"li",{},"The index canonicalizes the scheme. Ask for ",[126,319,320],{},"https:\u002F\u002Fwww.nzherald.co.nz\u002F"," and the rows come back as ",[126,323,324],{},"http:\u002F\u002F",".",[315,327,328,329,332],{},"Coverage is New Zealand. Mostly ",[126,330,331],{},".nz",", harvested by the National Library.",[315,334,335],{},"Need the bytes of an NZ page? Find the date here, then read the nearest Wayback or Common Crawl capture of the same URL.",[114,337,339],{"id":338},"where-it-lives","Where it lives",[215,341,342,325],{},[126,343,344],{},"src\u002Fproviders\u002Fnlnz.ts",[346,347,348],"style",{},"html pre.shiki code .skH_V, html code.shiki .skH_V{--shiki-light:var(--shiki-token-keyword);--shiki-default:var(--shiki-token-keyword);--shiki-dark:var(--shiki-token-keyword)}html pre.shiki code .s38Sx, html code.shiki .s38Sx{--shiki-light:var(--ui-text-highlighted);--shiki-default:var(--ui-text-highlighted);--shiki-dark:var(--ui-text-highlighted)}html pre.shiki code .shU9J, html code.shiki .shU9J{--shiki-light:var(--shiki-token-string);--shiki-default:var(--shiki-token-string);--shiki-dark:var(--shiki-token-string)}html pre.shiki code .sK71F, html code.shiki .sK71F{--shiki-light:var(--shiki-token-function);--shiki-default:var(--shiki-token-function);--shiki-dark:var(--shiki-token-function)}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":124,"searchDepth":153,"depth":153,"links":350},[351,352,353,354,355],{"id":116,"depth":153,"text":117},{"id":212,"depth":153,"text":213},{"id":272,"depth":153,"text":273},{"id":309,"depth":153,"text":310},{"id":338,"depth":153,"text":339},"New Zealand's national web archive. Whole domains as prefixes and no key. It lists captures and leaves the reading to someone else.","md",null,{"icon":360},"i-lucide-bird",{"title":72,"description":356},"DxUNTijV-WYGuPhicxT2I9enDcnIpSY-LLJvrHYhnxk",[364,366],{"title":68,"path":69,"stem":70,"description":365,"children":-1},"Hungary's national web archive. Whole domains as prefixes and id_ replay for bodies. No key and no collection to pick.",{"title":76,"path":77,"stem":78,"description":367,"children":-1},"archive.is through its Memento TimeMap; bodies are the rendered wrapper page, not the original bytes.",1791275838846]