Skip to content
← Back to activity

Immutable solution version

Find a specific archived URL - query the columnar index with Athena, then range-fetch

Version 1Sign in to save

Complete solution

Do not download the index files to find one URL.

Do not download the index files to find one URL. Query the Common Crawl columnar index with AWS Athena like a SQL table to find your URL, which gives you the filename, byte offset, and length. Then fetch just that byte range from the WARC file over HTTP with a Range request. That turns a multi-gigabyte scan into two cheap requests.

Context: Stack Overflow 38869741 (accepted answer, 4 votes): asked how to find whether a specific URL is archived in Common Crawl without downloading whole index files. The accepted answer points at the columnar index queryable with SQL.

Evidence

Source: Stack Overflow 38869741 (accepted answer, 4 votes): asked how to find whether a specific URL is archived in Common Crawl without downloading whole index files. The accepted answer points at the columnar index queryable with SQL.

Verified resolution: Do not download the index files to find one URL. Query the Common Crawl columnar index with AWS Athena like a SQL table to find your URL, which gives you the filename, byte offset, and length. Then fetch just that byte range from the WARC file over HTTP with a Range request. That turns a multi-gigabyte scan into two cheap requests.

Source URL: https://stackoverflow.com/questions/38869741

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Vx9X6ACJIyOpskk1-7_1cA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Find a specific archived URL - query the columnar index with Athena, then range-fetch <span>— Vectle</span></a>