Canada courts: add Federal Court judges and forms (archived copies, non-commercial use only)
Browse files- README.md +62 -2
- SHA256SUMS +20 -4
- data/forms-00000.parquet +3 -0
- data/judges-00000.parquet +3 -0
- manifests/MANIFEST.md +13 -0
- manifests/jf_cc_pace_requests_shared_lock.jsonl +111 -0
- manifests/jf_cc_requests_original.jsonl +70 -0
- manifests/robots_evidence.json +17 -0
- scrapers/code.json +16 -4
- scrapers/jf/archive_build.py +82 -0
- scrapers/jf/archive_cc.py +132 -0
- scrapers/jf/ca_archive.py +101 -0
- scrapers/jf/ccpace.py +56 -0
- scrapers/jf/fetcher.py +121 -0
- scrapers/jf/hub_build_arch.py +97 -0
- scrapers/jf/hub_common.py +48 -0
- scrapers/jf/pii.py +43 -0
- scrapers/jf/refetch_capture_hashes.py +18 -0
- scrapers/jf/run_archive_ca.py +47 -0
- scrapers/jf/schema.py +28 -0
- scrapers/jf/writer.py +57 -0
README.md
CHANGED
|
@@ -3,11 +3,15 @@ license: other
|
|
| 3 |
license_name: reproduction-of-federal-law-order
|
| 4 |
license_link: https://laws-lois.justice.gc.ca/eng/regulations/SI-97-5/
|
| 5 |
language: [en, fr]
|
| 6 |
-
pretty_name: Canada Federal Courts Rules (SOR/98-106) - rules table
|
| 7 |
-
tags: [legal, court-rules, civil-procedure, canada]
|
| 8 |
configs:
|
| 9 |
- config_name: rules
|
| 10 |
data_files: data/rules-*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
# Canada - Federal Courts Rules (SOR/98-106 / DORS/98-106)
|
| 13 |
One row per rule, English and French, in the shared courts `rules` schema plus law_pack_ref, source_sha256 and license.
|
|
@@ -20,8 +24,64 @@ This is an unofficial copy.
|
|
| 20 |
The text is federal enactments of the Government of Canada, reproduced under the Reproduction of Federal Law Order (SI/97-5), https://laws-lois.justice.gc.ca/eng/regulations/SI-97-5/ . That Order permits anyone to reproduce federal enactments without charge or permission, provided due diligence is exercised to ensure accuracy, the reproduction is not represented as an official version, and it is not represented as made in affiliation with or with the endorsement of the Government of Canada.
|
| 21 |
Source: https://laws-lois.justice.gc.ca/eng/regulations/SOR-98-106/ and https://laws-lois.justice.gc.ca/fra/reglements/DORS-98-106/
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
## Disclaimer
|
| 24 |
Not legal advice. The official Justice Laws Website version prevails.
|
|
|
|
| 25 |
|
| 26 |
## Known gaps
|
| 27 |
- Schedules (Tariff A, Tariff B, Code of Conduct for Expert Witnesses, transitional provisions): the pack has no heading or intro text for them, so no parent rows are included. The 32 child rows keep parent_rule_id `ca-fcr:<lang>:tariff-a`, `tariff-b`, `schedule-expert-code` and `transitional` as documented grouping ids.
|
|
|
|
| 3 |
license_name: reproduction-of-federal-law-order
|
| 4 |
license_link: https://laws-lois.justice.gc.ca/eng/regulations/SI-97-5/
|
| 5 |
language: [en, fr]
|
| 6 |
+
pretty_name: Canada Federal Courts Rules (SOR/98-106) - rules table, plus Federal Court judges and forms
|
| 7 |
+
tags: [legal, court-rules, judges, court-forms, civil-procedure, canada]
|
| 8 |
configs:
|
| 9 |
- config_name: rules
|
| 10 |
data_files: data/rules-*.parquet
|
| 11 |
+
- config_name: judges
|
| 12 |
+
data_files: data/judges-*.parquet
|
| 13 |
+
- config_name: forms
|
| 14 |
+
data_files: data/forms-*.parquet
|
| 15 |
---
|
| 16 |
# Canada - Federal Courts Rules (SOR/98-106 / DORS/98-106)
|
| 17 |
One row per rule, English and French, in the shared courts `rules` schema plus law_pack_ref, source_sha256 and license.
|
|
|
|
| 24 |
The text is federal enactments of the Government of Canada, reproduced under the Reproduction of Federal Law Order (SI/97-5), https://laws-lois.justice.gc.ca/eng/regulations/SI-97-5/ . That Order permits anyone to reproduce federal enactments without charge or permission, provided due diligence is exercised to ensure accuracy, the reproduction is not represented as an official version, and it is not represented as made in affiliation with or with the endorsement of the Government of Canada.
|
| 25 |
Source: https://laws-lois.justice.gc.ca/eng/regulations/SOR-98-106/ and https://laws-lois.justice.gc.ca/fra/reglements/DORS-98-106/
|
| 26 |
|
| 27 |
+
## Licence by config
|
| 28 |
+
|
| 29 |
+
| config | license_name | Terms |
|
| 30 |
+
| --- | --- | --- |
|
| 31 |
+
| `rules` | reproduction-of-federal-law-order | Reproduction of Federal Law Order (SI/97-5), see Licence above |
|
| 32 |
+
| `judges` | gc-non-commercial | NON-COMMERCIAL USE ONLY, see https://www.fct-cf.ca/en/pages/important-notices |
|
| 33 |
+
| `forms` | gc-non-commercial | NON-COMMERCIAL USE ONLY, see https://www.fct-cf.ca/en/pages/important-notices |
|
| 34 |
+
|
| 35 |
+
## Judges and forms (`judges`, `forms` configs) - Federal Court (fct-cf.ca), archived copies
|
| 36 |
+
|
| 37 |
+
| config | Data files | Rows | Content |
|
| 38 |
+
| --- | --- | --- | --- |
|
| 39 |
+
| `judges` | data/judges-00000.parquet | 54 | Federal Court members: official name, title/office, role, appointment date (from the official bio page), official bio URL |
|
| 40 |
+
| `forms` | data/forms-00000.parquet | 184 | en/fr forms tables of the online-access forms pages |
|
| 41 |
+
|
| 42 |
+
Forms honesty: 181 of 184 form rows are metadata only, with no form text and no file_sha256, because Common
|
| 43 |
+
Crawl did not capture those form files. 3 rows have text and the file_sha256 of the archived form file. `forms` adds
|
| 44 |
+
one column to the Directory forms schema: `external_ids` (map<string,string>) with the provenance.
|
| 45 |
+
|
| 46 |
+
Archive statement: these data are archived copies, not a live read. The live host (www.fct-cf.ca, formerly www.fct-cf.gc.ca, which now
|
| 47 |
+
only 301-redirects) was not fetched. Pages came from Common Crawl captures (20260316054024 to 20261013164423 UTC) read by HTTP byte-range
|
| 48 |
+
requests for single WARC records on data.commoncrawl.org. The index was read from the public cdx shards via cluster.idx.
|
| 49 |
+
Every row's `external_ids` has archive_url (WARC file#offset&length), capture_timestamp, original_url, capture_http_status,
|
| 50 |
+
capture_sha256 and capture_sha256_basis. Judge rows also carry bio_archive_url, bio_capture_timestamp and bio_capture_sha256.
|
| 51 |
+
capture_sha256 is the sha256 of the archived page body that was parsed. For 54 rows
|
| 52 |
+
it is the WARC payload, re-read under the shared pace lock with the CDX SHA1 verified. For 184 rows
|
| 53 |
+
(all forms) it is the stored decoded body kept from the original read, because the re-read of the two forms-listing records returned HTTP 503.
|
| 54 |
+
|
| 55 |
+
Robots evidence (manifests/robots_evidence.json): Common Crawl robotstxt WARC record for https://www.fct-cf.ca/robots.txt, captured
|
| 56 |
+
2026-10-13T15:11:07Z, read back under the shared pace lock (body saved, sha256 d6612f9d73e848ff21ce7234904d36fd9057dcb27e1ff78df01b652e75806bed, CDX SHA1 verified). It shows HTTP
|
| 57 |
+
404 (an HTML not-found page), so there is no robots.txt and no path is disallowed (RFC 9309). No rows come from www.fct-cf.gc.ca.
|
| 58 |
+
Pacing: the original reads used 2.5 s per-process pacing, NOT the fleet shared lock (log: manifests/jf_cc_requests_original.jsonl,
|
| 59 |
+
70 requests). The re-reads used the shared lock /workspace/muni/cc_pace.lock (>= 2 s after the previous
|
| 60 |
+
fleet request ended; log: manifests/jf_cc_pace_requests_shared_lock.jsonl, 111 requests). The client in
|
| 61 |
+
scrapers/jf/archive_cc.py now uses the lock for all Common Crawl requests.
|
| 62 |
+
Judge fields are limited to official name, title, role, appointment date and official bio URL. No biography text or contact data is kept.
|
| 63 |
+
`court_id` is null because no Directory id exists yet.
|
| 64 |
+
Licence for these two configs: NON-COMMERCIAL USE ONLY (license_name `gc-non-commercial`). Every row carries
|
| 65 |
+
external_ids.license_name = gc-non-commercial and external_ids.license_note; forms rows also have license = gc-non-commercial.
|
| 66 |
+
Terms verified 2026-10-26 from https://www.fct-cf.ca/en/pages/important-notices (Federal Court of Canada, Important Notices). They allow reproduction
|
| 67 |
+
"for personal or public non-commercial use... without charge or further permission, unless otherwise specified", and they prohibit
|
| 68 |
+
"reproduction of multiple copies... for the purposes of commercial redistribution" without written permission from the Government of Canada's copyright administrator.
|
| 69 |
+
The Reproduction of Federal Law Order above covers federal enactments (the `rules` config) only; it does NOT cover these lists.
|
| 70 |
+
|
| 71 |
+
Required notices for the `judges` and `forms` configs:
|
| 72 |
+
- Title of the work: Federal Court of Canada, "Members of the Court" (judges list and judge biography pages) and "Forms" (online-access forms pages), www.fct-cf.ca.
|
| 73 |
+
- Author organisation: Federal Court of Canada / Government of Canada.
|
| 74 |
+
- This is a copy of an official work published by the Government of Canada. It was not produced in affiliation with, or with the endorsement of, the Government of Canada.
|
| 75 |
+
|
| 76 |
+
Builders are in scrapers/jf/ (hashes in scrapers/code.json); the existing scrapers/ files are unchanged.
|
| 77 |
+
|
| 78 |
+
## Takedown
|
| 79 |
+
If you are a judge, office-holder or rights holder and want a row corrected or removed, open a discussion on this dataset's
|
| 80 |
+
Hugging Face page (Community tab). Rows are removed or corrected in the next revision.
|
| 81 |
+
|
| 82 |
## Disclaimer
|
| 83 |
Not legal advice. The official Justice Laws Website version prevails.
|
| 84 |
+
Judge lists and forms are archived snapshots and may be out of date; www.fct-cf.ca is authoritative.
|
| 85 |
|
| 86 |
## Known gaps
|
| 87 |
- Schedules (Tariff A, Tariff B, Code of Conduct for Expert Witnesses, transitional provisions): the pack has no heading or intro text for them, so no parent rows are included. The 32 child rows keep parent_rule_id `ca-fcr:<lang>:tariff-a`, `tariff-b`, `schedule-expert-code` and `transitional` as documented grouping ids.
|
SHA256SUMS
CHANGED
|
@@ -1,9 +1,25 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
| 3 |
50f1259c95f63f166a823e51104d2259c8e7a9828f8754b2d8da387ec6427321 data/rules-00000.parquet
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
| 5 |
9e6bf4d92b001acbb1aaa3e8fb9510afc5567ceaf89b4b0d2f7a74ee4673ce3f scrapers/build_ca_fcr.py
|
| 6 |
efd233bbfd90ec9fcf8e029eaef520e380e3f776fb1e6107edbad2d5fd642326 scrapers/build_rules_parquet.py
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
260624ac1359de944b5c1f51632ea7e7cb150bb3b3954fadafc65b52803df4dd scrapers/rules_schema.py
|
| 9 |
d1c5500814ac4aa040d2067f20644571b659b081385ff63f26601be9b1c59c59 scrapers/splitter.py
|
|
|
|
| 1 |
+
f9e99bca227d1314559343d77a604d61b394515fac7cea45a9a62c645fec6c6c README.md
|
| 2 |
+
d818bbf95a5a81cc0ce4eced0a5480a34afd618b18b7fd5aa1de8eaa0fdb4feb data/forms-00000.parquet
|
| 3 |
+
a5140ec1e43aad7aa8a4d4e89bb4733c0142fb916f3d1572d7ba29962e49f9b2 data/judges-00000.parquet
|
| 4 |
50f1259c95f63f166a823e51104d2259c8e7a9828f8754b2d8da387ec6427321 data/rules-00000.parquet
|
| 5 |
+
83a1a93b4d831c7568fad01c3f7e2a7f31b1d53c67c75612b55ee2a3defdce52 manifests/MANIFEST.md
|
| 6 |
+
be67b85d6c6019dee811777b176736f31a04c0d729f85e0558e1db4bc024d9ad manifests/jf_cc_pace_requests_shared_lock.jsonl
|
| 7 |
+
f9fa0fcb1f4a1219bae88303cc1ccf0fd4e99e2f262c6831e7d99c66a73733f5 manifests/jf_cc_requests_original.jsonl
|
| 8 |
+
b3ac6b346af35d53e21d0b79f8549ccc6b0a08b52740c451c261f0af47746712 manifests/robots_evidence.json
|
| 9 |
9e6bf4d92b001acbb1aaa3e8fb9510afc5567ceaf89b4b0d2f7a74ee4673ce3f scrapers/build_ca_fcr.py
|
| 10 |
efd233bbfd90ec9fcf8e029eaef520e380e3f776fb1e6107edbad2d5fd642326 scrapers/build_rules_parquet.py
|
| 11 |
+
56a687938871688508f778d63b9c070c3b8af04edc39c646c1937fe4b4c78857 scrapers/code.json
|
| 12 |
+
1a765bbc1e8a801f0b9a82328de90efdad4924812001c988b83f190d13c68903 scrapers/jf/archive_build.py
|
| 13 |
+
55cbaa9109237a1fc3f4aa879d226cd6d822e52458e7bbd57e6adb0b9d482533 scrapers/jf/archive_cc.py
|
| 14 |
+
656fbbcbb355db614a502f0176106a8eeb6c30ca8ecd68ce5bcc217076869cc0 scrapers/jf/ca_archive.py
|
| 15 |
+
2c4a9c055c1f5288a11a3eb99d149ba9bd7d58831419b07ca058cf79c618deee scrapers/jf/ccpace.py
|
| 16 |
+
e6e385a9dac065f02dcb7d91e58643475bc3ac416e4af7cad403918c8c6e7e0b scrapers/jf/fetcher.py
|
| 17 |
+
b8c842d36f838609a10853cf1c54fc7bd63f8f733c8071e483d105469ccdcac1 scrapers/jf/hub_build_arch.py
|
| 18 |
+
564f1e98aa02a2f4b2bcdd0bc2289e326cf894d448f2d33b4ffddfd3bb9ad954 scrapers/jf/hub_common.py
|
| 19 |
+
340714b535d171433f7ea6d9ebb81646009e1aab72fd70e857d2386ebe4b8a97 scrapers/jf/pii.py
|
| 20 |
+
33381ff4515058ff47d77d831c692b07bac39a4f59cd1e240c2260b91741490f scrapers/jf/refetch_capture_hashes.py
|
| 21 |
+
1845672bdd0d41e57cf4d357ee5fbdd3bc6652e56e36f93457aa6f2e62fa402d scrapers/jf/run_archive_ca.py
|
| 22 |
+
b3a7ba7e659976d08a4c8850ab7df5a2dc973663a41362a5a9cfb8293271c071 scrapers/jf/schema.py
|
| 23 |
+
b96b0b630e4fbb6437a836a7f18fcb80be7f75a2bc26ad087038d3c84735aca1 scrapers/jf/writer.py
|
| 24 |
260624ac1359de944b5c1f51632ea7e7cb150bb3b3954fadafc65b52803df4dd scrapers/rules_schema.py
|
| 25 |
d1c5500814ac4aa040d2067f20644571b659b081385ff63f26601be9b1c59c59 scrapers/splitter.py
|
data/forms-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d818bbf95a5a81cc0ce4eced0a5480a34afd618b18b7fd5aa1de8eaa0fdb4feb
|
| 3 |
+
size 32786
|
data/judges-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5140ec1e43aad7aa8a4d4e89bb4733c0142fb916f3d1572d7ba29962e49f9b2
|
| 3 |
+
size 16576
|
manifests/MANIFEST.md
CHANGED
|
@@ -18,3 +18,16 @@ Known gaps (not in data):
|
|
| 18 |
- amended_date null (no per-rule amendment history in pack)
|
| 19 |
- court_id/court_level null pending Courts Directory Bot (rules apply to FCA and FC)
|
| 20 |
- prescribed Forms not in pack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
- amended_date null (no per-rule amendment history in pack)
|
| 19 |
- court_id/court_level null pending Courts Directory Bot (rules apply to FCA and FC)
|
| 20 |
- prescribed Forms not in pack
|
| 21 |
+
|
| 22 |
+
## judges (config `judges`)
|
| 23 |
+
- rows: 54; provenance + capture_sha256: 54
|
| 24 |
+
- validate_rows errors 0; duplicate ids 0; PII hits 0
|
| 25 |
+
|
| 26 |
+
## forms (config `forms`)
|
| 27 |
+
- rows: 184; provenance + capture_sha256: 184; with text 3; with file_sha256 3; metadata only 181
|
| 28 |
+
- validate_rows errors 0; duplicate ids 0; PII hits 0
|
| 29 |
+
|
| 30 |
+
## archive reads
|
| 31 |
+
- capture range 20260316054024..20261013164423 UTC; robots: manifests/robots_evidence.json
|
| 32 |
+
- capture_sha256 basis: {"sha256 of the HTTP response payload in the WARC record, re-r": 54, "sha256 of the stored page body that was parsed (decoded copy": 184}
|
| 33 |
+
- requests: original 70 (per-process 2.5 s pacing), shared-lock re-reads 111 (min gap 2.0 s)
|
manifests/jf_cc_pace_requests_shared_lock.jsonl
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-12/segments/1772687553937.83/warc/CC-MAIN-20260316044919-20260316074919-00619.warc.gz", "range": "bytes=567313076-567327601", "start": 1793060892.18, "end": 1793060892.538, "gap_from_last_end": 2.0, "status": 206, "bytes": 14526, "err": null}
|
| 2 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00819.warc.gz", "range": "bytes=641164078-641177200", "start": 1793060896.677, "end": 1793060897.039, "gap_from_last_end": 2.0, "status": 206, "bytes": 13123, "err": null}
|
| 3 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00920.warc.gz", "range": "bytes=660990577-661001803", "start": 1793060903.266, "end": 1793060903.617, "gap_from_last_end": 2.0, "status": 206, "bytes": 11227, "err": null}
|
| 4 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00687.warc.gz", "range": "bytes=631090069-631101423", "start": 1793060907.625, "end": 1793060907.794, "gap_from_last_end": 2.0, "status": 206, "bytes": 11355, "err": null}
|
| 5 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00197.warc.gz", "range": "bytes=614420469-614431663", "start": 1793060909.794, "end": 1793060909.963, "gap_from_last_end": 2.0, "status": 206, "bytes": 11195, "err": null}
|
| 6 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "range": "bytes=604090636-604101876", "start": 1793060911.963, "end": 1793060912.189, "gap_from_last_end": 2.0, "status": 206, "bytes": 11241, "err": null}
|
| 7 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00514.warc.gz", "range": "bytes=630020253-630031620", "start": 1793060916.282, "end": 1793060916.333, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 8 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00126.warc.gz", "range": "bytes=678351608-678362917", "start": 1793060920.35, "end": 1793060920.553, "gap_from_last_end": 2.0, "status": 206, "bytes": 11310, "err": null}
|
| 9 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "range": "bytes=651080816-651091932", "start": 1793060924.565, "end": 1793060924.727, "gap_from_last_end": 2.0, "status": 206, "bytes": 11117, "err": null}
|
| 10 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "range": "bytes=656768553-656780056", "start": 1793060928.734, "end": 1793060928.892, "gap_from_last_end": 2.0, "status": 206, "bytes": 11504, "err": null}
|
| 11 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00681.warc.gz", "range": "bytes=624937744-624948826", "start": 1793060932.899, "end": 1793060933.288, "gap_from_last_end": 2.0, "status": 206, "bytes": 11083, "err": null}
|
| 12 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00042.warc.gz", "range": "bytes=638865492-638878375", "start": 1793060941.446, "end": 1793060941.498, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 13 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00502.warc.gz", "range": "bytes=652052802-652065756", "start": 1793060945.504, "end": 1793060945.683, "gap_from_last_end": 2.0, "status": 206, "bytes": 12955, "err": null}
|
| 14 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00796.warc.gz", "range": "bytes=628527702-628540537", "start": 1793060949.691, "end": 1793060949.862, "gap_from_last_end": 2.0, "status": 206, "bytes": 12836, "err": null}
|
| 15 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00542.warc.gz", "range": "bytes=619241278-619254309", "start": 1793060953.87, "end": 1793060954.067, "gap_from_last_end": 2.0, "status": 206, "bytes": 13032, "err": null}
|
| 16 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00362.warc.gz", "range": "bytes=625597178-625610345", "start": 1793060958.218, "end": 1793060958.362, "gap_from_last_end": 2.0, "status": 206, "bytes": 13168, "err": null}
|
| 17 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00366.warc.gz", "range": "bytes=598601160-598614248", "start": 1793060962.38, "end": 1793060962.503, "gap_from_last_end": 2.0, "status": 206, "bytes": 13089, "err": null}
|
| 18 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00502.warc.gz", "range": "bytes=637945546-637958378", "start": 1793060964.503, "end": 1793060964.683, "gap_from_last_end": 2.0, "status": 206, "bytes": 12833, "err": null}
|
| 19 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00686.warc.gz", "range": "bytes=699815028-699828195", "start": 1793060968.689, "end": 1793060968.882, "gap_from_last_end": 2.0, "status": 206, "bytes": 13168, "err": null}
|
| 20 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00774.warc.gz", "range": "bytes=615587961-615600796", "start": 1793060973.119, "end": 1793060973.288, "gap_from_last_end": 2.0, "status": 206, "bytes": 12836, "err": null}
|
| 21 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00588.warc.gz", "range": "bytes=628779226-628792367", "start": 1793060981.866, "end": 1793060982.094, "gap_from_last_end": 2.0, "status": 206, "bytes": 13142, "err": null}
|
| 22 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00524.warc.gz", "range": "bytes=618798198-618811048", "start": 1793060988.642, "end": 1793060988.767, "gap_from_last_end": 2.0, "status": 206, "bytes": 12851, "err": null}
|
| 23 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00440.warc.gz", "range": "bytes=662533301-662546017", "start": 1793060995.469, "end": 1793060995.522, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 24 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00240.warc.gz", "range": "bytes=639999430-640012580", "start": 1793061002.292, "end": 1793061002.519, "gap_from_last_end": 2.3, "status": 206, "bytes": 13151, "err": null}
|
| 25 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00426.warc.gz", "range": "bytes=612414803-612428010", "start": 1793061006.529, "end": 1793061006.87, "gap_from_last_end": 2.0, "status": 206, "bytes": 13208, "err": null}
|
| 26 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00458.warc.gz", "range": "bytes=633411729-633424889", "start": 1793061010.89, "end": 1793061011.314, "gap_from_last_end": 2.0, "status": 206, "bytes": 13161, "err": null}
|
| 27 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00492.warc.gz", "range": "bytes=693971654-693984740", "start": 1793061013.315, "end": 1793061013.525, "gap_from_last_end": 2.0, "status": 206, "bytes": 13087, "err": null}
|
| 28 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00268.warc.gz", "range": "bytes=603927725-603940747", "start": 1793061017.533, "end": 1793061017.877, "gap_from_last_end": 2.0, "status": 206, "bytes": 13023, "err": null}
|
| 29 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00833.warc.gz", "range": "bytes=616320498-616333563", "start": 1793061019.877, "end": 1793061020.038, "gap_from_last_end": 2.0, "status": 206, "bytes": 13066, "err": null}
|
| 30 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00926.warc.gz", "range": "bytes=604144782-604157928", "start": 1793061022.038, "end": 1793061022.169, "gap_from_last_end": 2.0, "status": 206, "bytes": 13147, "err": null}
|
| 31 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00306.warc.gz", "range": "bytes=709634423-709647311", "start": 1793061026.34, "end": 1793061026.509, "gap_from_last_end": 2.0, "status": 206, "bytes": 12889, "err": null}
|
| 32 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00040.warc.gz", "range": "bytes=661640019-661652941", "start": 1793061030.526, "end": 1793061030.749, "gap_from_last_end": 2.0, "status": 206, "bytes": 12923, "err": null}
|
| 33 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00477.warc.gz", "range": "bytes=603192543-603205163", "start": 1793061032.749, "end": 1793061033.095, "gap_from_last_end": 2.0, "status": 206, "bytes": 12621, "err": null}
|
| 34 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00074.warc.gz", "range": "bytes=617347115-617360315", "start": 1793061037.105, "end": 1793061037.313, "gap_from_last_end": 2.0, "status": 206, "bytes": 13201, "err": null}
|
| 35 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00336.warc.gz", "range": "bytes=651773347-651786370", "start": 1793061039.313, "end": 1793061039.494, "gap_from_last_end": 2.0, "status": 206, "bytes": 13024, "err": null}
|
| 36 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00856.warc.gz", "range": "bytes=627504770-627517689", "start": 1793061041.603, "end": 1793061041.819, "gap_from_last_end": 1793061041.603, "status": 206, "bytes": 12920, "err": null}
|
| 37 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00576.warc.gz", "range": "bytes=631974609-631987706", "start": 1793061046.053, "end": 1793061046.233, "gap_from_last_end": 2.0, "status": 206, "bytes": 13098, "err": null}
|
| 38 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00860.warc.gz", "range": "bytes=609333392-609346450", "start": 1793061050.256, "end": 1793061050.64, "gap_from_last_end": 2.0, "status": 206, "bytes": 13059, "err": null}
|
| 39 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00294.warc.gz", "range": "bytes=609234947-609247817", "start": 1793061054.675, "end": 1793061054.835, "gap_from_last_end": 2.0, "status": 206, "bytes": 12871, "err": null}
|
| 40 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00243.warc.gz", "range": "bytes=637516376-637529301", "start": 1793061058.847, "end": 1793061059.011, "gap_from_last_end": 2.0, "status": 206, "bytes": 12926, "err": null}
|
| 41 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00671.warc.gz", "range": "bytes=660426145-660439301", "start": 1793061063.02, "end": 1793061063.262, "gap_from_last_end": 2.0, "status": 206, "bytes": 13157, "err": null}
|
| 42 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00746.warc.gz", "range": "bytes=657445258-657458017", "start": 1793061067.278, "end": 1793061067.327, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 43 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00647.warc.gz", "range": "bytes=641006534-641019607", "start": 1793061071.334, "end": 1793061071.373, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 44 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00934.warc.gz", "range": "bytes=645875400-645888049", "start": 1793061075.38, "end": 1793061075.426, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 45 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00357.warc.gz", "range": "bytes=628086408-628099078", "start": 1793061079.544, "end": 1793061079.596, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 46 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00936.warc.gz", "range": "bytes=630561578-630574313", "start": 1793061083.603, "end": 1793061083.644, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 47 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00354.warc.gz", "range": "bytes=648123088-648136006", "start": 1793061087.654, "end": 1793061087.734, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 48 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00201.warc.gz", "range": "bytes=635307040-635319917", "start": 1793061091.741, "end": 1793061091.777, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 49 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "range": "bytes=637098687-637111376", "start": 1793061095.785, "end": 1793061095.938, "gap_from_last_end": 2.0, "status": 206, "bytes": 12690, "err": null}
|
| 50 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00839.warc.gz", "range": "bytes=664624292-664637199", "start": 1793061100.101, "end": 1793061100.144, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 51 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00426.warc.gz", "range": "bytes=634968304-634981620", "start": 1793061104.465, "end": 1793061104.515, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 52 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00054.warc.gz", "range": "bytes=655230637-655243384", "start": 1793061108.534, "end": 1793061108.794, "gap_from_last_end": 2.0, "status": 206, "bytes": 12748, "err": null}
|
| 53 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "range": "bytes=620018746-620031726", "start": 1793061115.309, "end": 1793061115.498, "gap_from_last_end": 2.003, "status": 206, "bytes": 12981, "err": null}
|
| 54 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00580.warc.gz", "range": "bytes=596809777-596822877", "start": 1793061119.833, "end": 1793061119.959, "gap_from_last_end": 1793061119.833, "status": 206, "bytes": 13101, "err": null}
|
| 55 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00717.warc.gz", "range": "bytes=695658639-695673852", "start": 1793061124.109, "end": 1793061124.516, "gap_from_last_end": 2.0, "status": 206, "bytes": 15214, "err": null}
|
| 56 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-12/segments/1772687553937.83/warc/CC-MAIN-20260316044919-20260316074919-00619.warc.gz", "range": "bytes=567313076-567327601", "start": 1793063881.961, "end": 1793063882.004, "gap_from_last_end": 2.311, "status": 503, "bytes": 0, "err": null}
|
| 57 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00819.warc.gz", "range": "bytes=641164078-641177200", "start": 1793063892.371, "end": 1793063892.578, "gap_from_last_end": 2.0, "status": 206, "bytes": 13123, "err": null}
|
| 58 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00920.warc.gz", "range": "bytes=660990577-661001803", "start": 1793063912.732, "end": 1793063912.925, "gap_from_last_end": 2.0, "status": 206, "bytes": 11227, "err": null}
|
| 59 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00687.warc.gz", "range": "bytes=631090069-631101423", "start": 1793063925.155, "end": 1793063925.318, "gap_from_last_end": 2.0, "status": 206, "bytes": 11355, "err": null}
|
| 60 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00197.warc.gz", "range": "bytes=614420469-614431663", "start": 1793063935.507, "end": 1793063935.538, "gap_from_last_end": 2.0, "status": 206, "bytes": 11195, "err": null}
|
| 61 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "range": "bytes=604090636-604101876", "start": 1793063945.597, "end": 1793063945.661, "gap_from_last_end": 2.0, "status": 206, "bytes": 11241, "err": null}
|
| 62 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00514.warc.gz", "range": "bytes=630020253-630031620", "start": 1793063955.74, "end": 1793063955.916, "gap_from_last_end": 2.0, "status": 206, "bytes": 11368, "err": null}
|
| 63 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00126.warc.gz", "range": "bytes=678351608-678362917", "start": 1793063965.96, "end": 1793063966.124, "gap_from_last_end": 2.0, "status": 206, "bytes": 11310, "err": null}
|
| 64 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "range": "bytes=651080816-651091932", "start": 1793063976.163, "end": 1793063976.346, "gap_from_last_end": 2.0, "status": 206, "bytes": 11117, "err": null}
|
| 65 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "range": "bytes=656768553-656780056", "start": 1793063986.7, "end": 1793063986.897, "gap_from_last_end": 2.0, "status": 206, "bytes": 11504, "err": null}
|
| 66 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00681.warc.gz", "range": "bytes=624937744-624948826", "start": 1793063999.208, "end": 1793063999.342, "gap_from_last_end": 2.0, "status": 206, "bytes": 11083, "err": null}
|
| 67 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00042.warc.gz", "range": "bytes=638865492-638878375", "start": 1793064021.138, "end": 1793064021.496, "gap_from_last_end": 2.0, "status": 206, "bytes": 12884, "err": null}
|
| 68 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00502.warc.gz", "range": "bytes=652052802-652065756", "start": 1793064031.844, "end": 1793064031.993, "gap_from_last_end": 2.0, "status": 206, "bytes": 12955, "err": null}
|
| 69 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00796.warc.gz", "range": "bytes=628527702-628540537", "start": 1793064042.353, "end": 1793064042.502, "gap_from_last_end": 2.0, "status": 206, "bytes": 12836, "err": null}
|
| 70 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00542.warc.gz", "range": "bytes=619241278-619254309", "start": 1793064053.051, "end": 1793064053.225, "gap_from_last_end": 2.0, "status": 206, "bytes": 13032, "err": null}
|
| 71 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00362.warc.gz", "range": "bytes=625597178-625610345", "start": 1793064062.279, "end": 1793064062.61, "gap_from_last_end": 2.0, "status": 206, "bytes": 13168, "err": null}
|
| 72 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00366.warc.gz", "range": "bytes=598601160-598614248", "start": 1793064070.612, "end": 1793064070.782, "gap_from_last_end": 4.321, "status": 206, "bytes": 13089, "err": null}
|
| 73 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00502.warc.gz", "range": "bytes=637945546-637958378", "start": 1793064081.74, "end": 1793064081.903, "gap_from_last_end": 2.0, "status": 206, "bytes": 12833, "err": null}
|
| 74 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00686.warc.gz", "range": "bytes=699815028-699828195", "start": 1793064092.46, "end": 1793064092.493, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 75 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00774.warc.gz", "range": "bytes=615587961-615600796", "start": 1793064102.997, "end": 1793064103.186, "gap_from_last_end": 2.0, "status": 206, "bytes": 12836, "err": null}
|
| 76 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00588.warc.gz", "range": "bytes=628779226-628792367", "start": 1793064113.564, "end": 1793064113.607, "gap_from_last_end": 2.0, "status": 206, "bytes": 13142, "err": null}
|
| 77 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00524.warc.gz", "range": "bytes=618798198-618811048", "start": 1793064123.952, "end": 1793064124.076, "gap_from_last_end": 2.0, "status": 206, "bytes": 12851, "err": null}
|
| 78 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00440.warc.gz", "range": "bytes=662533301-662546017", "start": 1793064134.322, "end": 1793064134.497, "gap_from_last_end": 2.0, "status": 206, "bytes": 12717, "err": null}
|
| 79 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00240.warc.gz", "range": "bytes=639999430-640012580", "start": 1793064144.536, "end": 1793064144.692, "gap_from_last_end": 2.0, "status": 206, "bytes": 13151, "err": null}
|
| 80 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00426.warc.gz", "range": "bytes=612414803-612428010", "start": 1793064157.097, "end": 1793064157.24, "gap_from_last_end": 2.0, "status": 206, "bytes": 13208, "err": null}
|
| 81 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00458.warc.gz", "range": "bytes=633411729-633424889", "start": 1793064167.436, "end": 1793064167.615, "gap_from_last_end": 2.0, "status": 206, "bytes": 13161, "err": null}
|
| 82 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00492.warc.gz", "range": "bytes=693971654-693984740", "start": 1793064177.989, "end": 1793064178.177, "gap_from_last_end": 2.0, "status": 206, "bytes": 13087, "err": null}
|
| 83 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00268.warc.gz", "range": "bytes=603927725-603940747", "start": 1793064186.522, "end": 1793064186.705, "gap_from_last_end": 2.0, "status": 206, "bytes": 13023, "err": null}
|
| 84 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00833.warc.gz", "range": "bytes=616320498-616333563", "start": 1793064199.256, "end": 1793064199.307, "gap_from_last_end": 2.0, "status": 206, "bytes": 13066, "err": null}
|
| 85 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00926.warc.gz", "range": "bytes=604144782-604157928", "start": 1793064209.674, "end": 1793064209.858, "gap_from_last_end": 2.0, "status": 206, "bytes": 13147, "err": null}
|
| 86 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00306.warc.gz", "range": "bytes=709634423-709647311", "start": 1793064219.924, "end": 1793064220.041, "gap_from_last_end": 2.0, "status": 206, "bytes": 12889, "err": null}
|
| 87 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00040.warc.gz", "range": "bytes=661640019-661652941", "start": 1793064228.179, "end": 1793064228.379, "gap_from_last_end": 2.0, "status": 206, "bytes": 12923, "err": null}
|
| 88 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00477.warc.gz", "range": "bytes=603192543-603205163", "start": 1793064236.786, "end": 1793064236.926, "gap_from_last_end": 2.0, "status": 206, "bytes": 12621, "err": null}
|
| 89 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00074.warc.gz", "range": "bytes=617347115-617360315", "start": 1793064244.928, "end": 1793064244.959, "gap_from_last_end": 3.962, "status": 503, "bytes": 0, "err": null}
|
| 90 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00336.warc.gz", "range": "bytes=651773347-651786370", "start": 1793064255.182, "end": 1793064255.389, "gap_from_last_end": 2.0, "status": 206, "bytes": 13024, "err": null}
|
| 91 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00856.warc.gz", "range": "bytes=627504770-627517689", "start": 1793064268.118, "end": 1793064268.269, "gap_from_last_end": 2.0, "status": 206, "bytes": 12920, "err": null}
|
| 92 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00576.warc.gz", "range": "bytes=631974609-631987706", "start": 1793064278.746, "end": 1793064278.964, "gap_from_last_end": 2.0, "status": 206, "bytes": 13098, "err": null}
|
| 93 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00860.warc.gz", "range": "bytes=609333392-609346450", "start": 1793064289.365, "end": 1793064289.533, "gap_from_last_end": 2.0, "status": 206, "bytes": 13059, "err": null}
|
| 94 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00294.warc.gz", "range": "bytes=609234947-609247817", "start": 1793064299.861, "end": 1793064300.016, "gap_from_last_end": 2.0, "status": 206, "bytes": 12871, "err": null}
|
| 95 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00243.warc.gz", "range": "bytes=637516376-637529301", "start": 1793064310.516, "end": 1793064310.581, "gap_from_last_end": 2.0, "status": 206, "bytes": 12926, "err": null}
|
| 96 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00671.warc.gz", "range": "bytes=660426145-660439301", "start": 1793064321.067, "end": 1793064321.301, "gap_from_last_end": 2.0, "status": 206, "bytes": 13157, "err": null}
|
| 97 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00746.warc.gz", "range": "bytes=657445258-657458017", "start": 1793064331.612, "end": 1793064331.938, "gap_from_last_end": 2.0, "status": 206, "bytes": 12760, "err": null}
|
| 98 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00647.warc.gz", "range": "bytes=641006534-641019607", "start": 1793064339.941, "end": 1793064340.083, "gap_from_last_end": 4.319, "status": 206, "bytes": 13074, "err": null}
|
| 99 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00934.warc.gz", "range": "bytes=645875400-645888049", "start": 1793064351.982, "end": 1793064352.14, "gap_from_last_end": 2.0, "status": 206, "bytes": 12650, "err": null}
|
| 100 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00357.warc.gz", "range": "bytes=628086408-628099078", "start": 1793064362.773, "end": 1793064362.822, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 101 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00936.warc.gz", "range": "bytes=630561578-630574313", "start": 1793064372.893, "end": 1793064373.097, "gap_from_last_end": 2.0, "status": 206, "bytes": 12736, "err": null}
|
| 102 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00354.warc.gz", "range": "bytes=648123088-648136006", "start": 1793064381.1, "end": 1793064381.242, "gap_from_last_end": 5.992, "status": 206, "bytes": 12919, "err": null}
|
| 103 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00201.warc.gz", "range": "bytes=635307040-635319917", "start": 1793064391.775, "end": 1793064391.961, "gap_from_last_end": 2.0, "status": 206, "bytes": 12878, "err": null}
|
| 104 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "range": "bytes=637098687-637111376", "start": 1793064402.422, "end": 1793064402.594, "gap_from_last_end": 2.0, "status": 206, "bytes": 12690, "err": null}
|
| 105 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00839.warc.gz", "range": "bytes=664624292-664637199", "start": 1793064412.962, "end": 1793064413.115, "gap_from_last_end": 2.0, "status": 206, "bytes": 12908, "err": null}
|
| 106 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00426.warc.gz", "range": "bytes=634968304-634981620", "start": 1793064428.163, "end": 1793064428.353, "gap_from_last_end": 2.0, "status": 206, "bytes": 13317, "err": null}
|
| 107 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00054.warc.gz", "range": "bytes=655230637-655243384", "start": 1793064443.228, "end": 1793064443.419, "gap_from_last_end": 2.0, "status": 206, "bytes": 12748, "err": null}
|
| 108 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "range": "bytes=620018746-620031726", "start": 1793064458.498, "end": 1793064458.645, "gap_from_last_end": 2.0, "status": 206, "bytes": 12981, "err": null}
|
| 109 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00580.warc.gz", "range": "bytes=596809777-596822877", "start": 1793064468.993, "end": 1793064469.159, "gap_from_last_end": 2.0, "status": 206, "bytes": 13101, "err": null}
|
| 110 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00717.warc.gz", "range": "bytes=695658639-695673852", "start": 1793064479.569, "end": 1793064479.606, "gap_from_last_end": 2.0, "status": 503, "bytes": 0, "err": null}
|
| 111 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/robotstxt/CC-MAIN-20261013150634-20261013180634-00174.warc.gz", "range": "bytes=1149860-1152398", "start": 1793064490.164, "end": 1793064490.331, "gap_from_last_end": 2.0, "status": 206, "bytes": 2539, "err": null}
|
manifests/jf_cc_requests_original.jsonl
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-12/segments/1772687553937.83/warc/CC-MAIN-20260316044919-20260316074919-00619.warc.gz", "kind": "cc_warc", "status": 206, "n": 14526, "attempt": 0, "ts": "2026-10-26T17:15:38-0700"}
|
| 2 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00819.warc.gz", "kind": "cc_warc", "status": 206, "n": 13123, "attempt": 0, "ts": "2026-10-26T17:15:40-0700"}
|
| 3 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00920.warc.gz", "kind": "cc_warc", "status": 206, "n": 11227, "attempt": 0, "ts": "2026-10-26T17:15:45-0700"}
|
| 4 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00687.warc.gz", "kind": "cc_warc", "status": 206, "n": 11355, "attempt": 0, "ts": "2026-10-26T17:15:47-0700"}
|
| 5 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00197.warc.gz", "kind": "cc_warc", "status": 206, "n": 11195, "attempt": 0, "ts": "2026-10-26T17:15:50-0700"}
|
| 6 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 0, "ts": "2026-10-26T17:15:52-0700"}
|
| 7 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 1, "ts": "2026-10-26T17:15:55-0700"}
|
| 8 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 2, "ts": "2026-10-26T17:16:00-0700"}
|
| 9 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00137.warc.gz", "kind": "cc_warc", "status": 206, "n": 11241, "attempt": 3, "ts": "2026-10-26T17:16:10-0700"}
|
| 10 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00514.warc.gz", "kind": "cc_warc", "status": 206, "n": 11368, "attempt": 0, "ts": "2026-10-26T17:16:12-0700"}
|
| 11 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00126.warc.gz", "kind": "cc_warc", "status": 206, "n": 11310, "attempt": 0, "ts": "2026-10-26T17:16:15-0700"}
|
| 12 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 0, "ts": "2026-10-26T17:16:17-0700"}
|
| 13 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 1, "ts": "2026-10-26T17:16:20-0700"}
|
| 14 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 2, "ts": "2026-10-26T17:16:25-0700"}
|
| 15 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00755.warc.gz", "kind": "cc_warc", "status": 206, "n": 11117, "attempt": 3, "ts": "2026-10-26T17:16:35-0700"}
|
| 16 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 0, "ts": "2026-10-26T17:16:37-0700"}
|
| 17 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 1, "ts": "2026-10-26T17:16:40-0700"}
|
| 18 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "kind": "cc_warc", "status": 503, "n": 278, "attempt": 2, "ts": "2026-10-26T17:16:45-0700"}
|
| 19 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00280.warc.gz", "kind": "cc_warc", "status": 206, "n": 11504, "attempt": 3, "ts": "2026-10-26T17:16:55-0700"}
|
| 20 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00681.warc.gz", "kind": "cc_warc", "status": 206, "n": 11083, "attempt": 0, "ts": "2026-10-26T17:16:58-0700"}
|
| 21 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00042.warc.gz", "kind": "cc_warc", "status": 206, "n": 12884, "attempt": 0, "ts": "2026-10-26T17:17:03-0700"}
|
| 22 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00502.warc.gz", "kind": "cc_warc", "status": 206, "n": 12955, "attempt": 0, "ts": "2026-10-26T17:17:05-0700"}
|
| 23 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00796.warc.gz", "kind": "cc_warc", "status": 206, "n": 12836, "attempt": 0, "ts": "2026-10-26T17:17:08-0700"}
|
| 24 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00542.warc.gz", "kind": "cc_warc", "status": 206, "n": 13032, "attempt": 0, "ts": "2026-10-26T17:17:10-0700"}
|
| 25 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00362.warc.gz", "kind": "cc_warc", "status": 206, "n": 13168, "attempt": 0, "ts": "2026-10-26T17:17:12-0700"}
|
| 26 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00366.warc.gz", "kind": "cc_warc", "status": 206, "n": 13089, "attempt": 0, "ts": "2026-10-26T17:17:15-0700"}
|
| 27 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00502.warc.gz", "kind": "cc_warc", "status": 206, "n": 12833, "attempt": 0, "ts": "2026-10-26T17:17:18-0700"}
|
| 28 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00686.warc.gz", "kind": "cc_warc", "status": 206, "n": 13168, "attempt": 0, "ts": "2026-10-26T17:17:20-0700"}
|
| 29 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00774.warc.gz", "kind": "cc_warc", "status": 206, "n": 12836, "attempt": 0, "ts": "2026-10-26T17:17:22-0700"}
|
| 30 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00588.warc.gz", "kind": "cc_warc", "status": 206, "n": 13142, "attempt": 0, "ts": "2026-10-26T17:17:25-0700"}
|
| 31 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00524.warc.gz", "kind": "cc_warc", "status": 206, "n": 12851, "attempt": 0, "ts": "2026-10-26T17:17:28-0700"}
|
| 32 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00440.warc.gz", "kind": "cc_warc", "status": 206, "n": 12717, "attempt": 0, "ts": "2026-10-26T17:17:30-0700"}
|
| 33 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00240.warc.gz", "kind": "cc_warc", "status": 206, "n": 13151, "attempt": 0, "ts": "2026-10-26T17:17:32-0700"}
|
| 34 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00426.warc.gz", "kind": "cc_warc", "status": 206, "n": 13208, "attempt": 0, "ts": "2026-10-26T17:17:35-0700"}
|
| 35 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00458.warc.gz", "kind": "cc_warc", "status": 206, "n": 13161, "attempt": 0, "ts": "2026-10-26T17:17:38-0700"}
|
| 36 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00492.warc.gz", "kind": "cc_warc", "status": 206, "n": 13087, "attempt": 0, "ts": "2026-10-26T17:17:40-0700"}
|
| 37 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00268.warc.gz", "kind": "cc_warc", "status": 206, "n": 13023, "attempt": 0, "ts": "2026-10-26T17:17:43-0700"}
|
| 38 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00833.warc.gz", "kind": "cc_warc", "status": 206, "n": 13066, "attempt": 0, "ts": "2026-10-26T17:17:45-0700"}
|
| 39 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00926.warc.gz", "kind": "cc_warc", "status": 206, "n": 13147, "attempt": 0, "ts": "2026-10-26T17:17:48-0700"}
|
| 40 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00306.warc.gz", "kind": "cc_warc", "status": 206, "n": 12889, "attempt": 0, "ts": "2026-10-26T17:17:50-0700"}
|
| 41 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00040.warc.gz", "kind": "cc_warc", "status": 206, "n": 12923, "attempt": 0, "ts": "2026-10-26T17:17:53-0700"}
|
| 42 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00477.warc.gz", "kind": "cc_warc", "status": 206, "n": 12621, "attempt": 0, "ts": "2026-10-26T17:17:55-0700"}
|
| 43 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00074.warc.gz", "kind": "cc_warc", "status": 206, "n": 13201, "attempt": 0, "ts": "2026-10-26T17:17:58-0700"}
|
| 44 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00336.warc.gz", "kind": "cc_warc", "status": 206, "n": 13024, "attempt": 0, "ts": "2026-10-26T17:18:00-0700"}
|
| 45 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00856.warc.gz", "kind": "cc_warc", "status": 206, "n": 12920, "attempt": 0, "ts": "2026-10-26T17:18:03-0700"}
|
| 46 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00576.warc.gz", "kind": "cc_warc", "status": 206, "n": 13098, "attempt": 0, "ts": "2026-10-26T17:18:05-0700"}
|
| 47 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00860.warc.gz", "kind": "cc_warc", "status": 206, "n": 13059, "attempt": 0, "ts": "2026-10-26T17:18:08-0700"}
|
| 48 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385543.75/warc/CC-MAIN-20260812230232-20260813020232-00294.warc.gz", "kind": "cc_warc", "status": 206, "n": 12871, "attempt": 0, "ts": "2026-10-26T17:18:10-0700"}
|
| 49 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00243.warc.gz", "kind": "cc_warc", "status": 206, "n": 12926, "attempt": 0, "ts": "2026-10-26T17:18:13-0700"}
|
| 50 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00671.warc.gz", "kind": "cc_warc", "status": 206, "n": 13157, "attempt": 0, "ts": "2026-10-26T17:18:15-0700"}
|
| 51 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00746.warc.gz", "kind": "cc_warc", "status": 206, "n": 12760, "attempt": 0, "ts": "2026-10-26T17:18:18-0700"}
|
| 52 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00647.warc.gz", "kind": "cc_warc", "status": 206, "n": 13074, "attempt": 0, "ts": "2026-10-26T17:18:20-0700"}
|
| 53 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00934.warc.gz", "kind": "cc_warc", "status": 206, "n": 12650, "attempt": 0, "ts": "2026-10-26T17:18:23-0700"}
|
| 54 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00357.warc.gz", "kind": "cc_warc", "status": 206, "n": 12671, "attempt": 0, "ts": "2026-10-26T17:18:25-0700"}
|
| 55 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00936.warc.gz", "kind": "cc_warc", "status": 206, "n": 12736, "attempt": 0, "ts": "2026-10-26T17:18:28-0700"}
|
| 56 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492699585.9/warc/CC-MAIN-20260905103615-20260905133615-00354.warc.gz", "kind": "cc_warc", "status": 206, "n": 12919, "attempt": 0, "ts": "2026-10-26T17:18:30-0700"}
|
| 57 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00201.warc.gz", "kind": "cc_warc", "status": 206, "n": 12878, "attempt": 0, "ts": "2026-10-26T17:18:33-0700"}
|
| 58 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 0, "ts": "2026-10-26T17:18:35-0700"}
|
| 59 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 1, "ts": "2026-10-26T17:18:37-0700"}
|
| 60 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 2, "ts": "2026-10-26T17:18:42-0700"}
|
| 61 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00677.warc.gz", "kind": "cc_warc", "status": 206, "n": 12690, "attempt": 3, "ts": "2026-10-26T17:18:53-0700"}
|
| 62 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/warc/CC-MAIN-20261013150634-20261013180634-00839.warc.gz", "kind": "cc_warc", "status": 206, "n": 12908, "attempt": 0, "ts": "2026-10-26T17:18:55-0700"}
|
| 63 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00426.warc.gz", "kind": "cc_warc", "status": 206, "n": 13317, "attempt": 0, "ts": "2026-10-26T17:18:58-0700"}
|
| 64 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-39/segments/1788492700023.49/warc/CC-MAIN-20260911124926-20260911154926-00054.warc.gz", "kind": "cc_warc", "status": 206, "n": 12748, "attempt": 0, "ts": "2026-10-26T17:19:00-0700"}
|
| 65 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 0, "ts": "2026-10-26T17:19:02-0700"}
|
| 66 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 1, "ts": "2026-10-26T17:19:05-0700"}
|
| 67 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "kind": "cc_warc", "status": 503, "n": 258, "attempt": 2, "ts": "2026-10-26T17:19:10-0700"}
|
| 68 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00539.warc.gz", "kind": "cc_warc", "status": 206, "n": 12981, "attempt": 3, "ts": "2026-10-26T17:19:20-0700"}
|
| 69 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-25/segments/1780687572343.29/warc/CC-MAIN-20260607221841-20260608011841-00580.warc.gz", "kind": "cc_warc", "status": 206, "n": 13101, "attempt": 0, "ts": "2026-10-26T17:19:23-0700"}
|
| 70 |
+
{"url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-34/segments/1786091385254.10/warc/CC-MAIN-20260809154047-20260809184047-00717.warc.gz", "kind": "cc_warc", "status": 206, "n": 15214, "attempt": 0, "ts": "2026-10-26T17:19:25-0700"}
|
manifests/robots_evidence.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"host": "www.fct-cf.ca",
|
| 3 |
+
"live": "not fetched (fct-cf hosts skipped for live fetching)",
|
| 4 |
+
"evidence": {
|
| 5 |
+
"source": "Common Crawl robotstxt WARC record (byte-range read under the shared pace lock)",
|
| 6 |
+
"archive_url": "https://data.commoncrawl.org/crawl-data/CC-MAIN-2026-43/segments/1791170054802.34/robotstxt/CC-MAIN-20261013150634-20261013180634-00174.warc.gz#offset=1149860&length=2539",
|
| 7 |
+
"original_url": "https://www.fct-cf.ca/robots.txt",
|
| 8 |
+
"capture_timestamp": "20261013151107",
|
| 9 |
+
"warc_date": "2026-10-13T15:11:07Z",
|
| 10 |
+
"http_status": 404,
|
| 11 |
+
"body_sha256": "d6612f9d73e848ff21ce7234904d36fd9057dcb27e1ff78df01b652e75806bed",
|
| 12 |
+
"cdx_sha1_verified": true,
|
| 13 |
+
"body": "<!DOCTYPE html>\r\n<html class=\"no-js\" lang=\"en\" dir=\"ltr\">\r\n<head>\r\n <meta charset=\"utf-8\">\r\n <title>We couldn't find that Web page (Error 404) / Nous ne pouvons trouver cette page Web (Erreur 404)</title>\r\n <meta content=\"width=device-width,initial-scale=1\" name=\"viewport\">\r\n <meta name=\"robots\" content=\"noindex, nofollow, noarchive\">\r\n <link href=\"/Content/img/base/favicon.ico\" rel=\"icon\" type=\"image/x-icon\">\r\n <link href=\"/content/vendors/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\">\r\n <link href=\"/Content/css/base/style.gold.css\" rel=\"stylesheet\">\r\n <link href=\"/Content/css/base/custom.css\" rel=\"stylesheet\">\r\n <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">\r\n <style>\r\n h2{\r\n font-size:1.4rem!important;\r\n }\r\n </style>\r\n</head>\r\n<body vocab=\"http://schema.org/\" typeof=\"WebPage\">\r\n\r\n <header class=\"header mb-05\">\r\n <nav class=\"navbar navbar-expand-lg align-self-center\">\r\n <div class=\"container\" id=\"wtmrk_en\">\r\n <div class=\"col-lg-12 text-center\">\r\n <div class=\"row\">\r\n <div class=\"col-8 d-sm-none d-md-none d-lg-none\">\r\n <p class=\"Court-Text\">\r\n <span lang=\"en\"><a class=\"Text-White\" href=\"/en/home\">Federal Court</a></span>\r\n </p>\r\n <p class=\"Court-Text\">\r\n <span lang=\"fr\"><a class=\"Text-White\" href=\"/fr/accueil\">Cour fédérale</a></span>\r\n </p>\r\n </div>\r\n <div class=\"col-4 d-sm-none d-md-none d-lg-none\">\r\n <img src=\"/content/img/base/FCLogo_nb_e.png\" class=\"img-fluid\" alt=\"Federal Court\">\r\n </div>\r\n <div class=\"col-md-5 d-none d-sm-block text-right align-self-center\">\r\n <span class=\"Court-Text\" lang=\"en\">\r\n <a class=\"Text-White\" href=\"/en/home\">Federal Court</a>\r\n </span>\r\n </div>\r\n <div class=\"col-md-2 d-none d-sm-block align-self-center\">\r\n <img src=\"/content/img/base/FCLogo_nb_e.png\" class=\"img-fluid\" alt=\"Cour fédérale\">\r\n </div>\r\n <div class=\"col-md-5 d-none d-sm-block text-left align-self-center\">\r\n <span class=\"Court-Text\" lang=\"fr\">\r\n <a class=\"Text-White\" href=\"/fr/accueil\">Cour fédérale</a>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </nav>\r\n </header>\r\n <main role=\"main\" property=\"mainContentOfPage\" class=\"container pt-4\">\r\n <div class=\"row\">\r\n\r\n <h1 class=\"sr-only\">We couldn't find that Web page / <span lang=\"fr\">Nous ne pouvons trouver cette page Web</span></h1>\r\n\r\n <section class=\"col-md-6\">\r\n\r\n <h2><i class=\"fas fa-exclamation-triangle\"></i> We couldn't find that Web page</h2>\r\n\r\n <p><strong>Error 404</strong></p>\r\n\r\n <p>The Web server cannot locate the web page you are attempting to access. The page you are looking for may have been moved or archived. Please also check the URL of the page you requested to ensure that it is correct.</p>\r\n <p>In order to assist you, we recommend that you try the following options:</p>\r\n <ul>\r\n <li>Try navigating to the last page you visited on our Web site;</li>\r\n <li>Visit our <a href=\"/en/Home\">Home page</a>; or</li>\r\n <li>Use the <a href=\"/en/search\">Search engine</a> to search for the page;</li>\r\n </ul>\r\n\r\n <p>If you came to our site from a favourite/bookmark, you may wish to update this accordingly.</p>\r\n <p>You can also go to the <a href=\"/en/pages/representing-yourself/contact-us\">Contact Us</a> page to report broken links. We welcome your ideas and suggestions.</p>\r\n\r\n <p>Thank you.</p>\r\n\r\n </section>\r\n\r\n <section class=\"col-md-6\" lang=\"fr\">\r\n\r\n <h2><i class=\"fas fa-exclamation-triangle\"></i> Nous ne pouvons trouver cette page Web</h2>\r\n\r\n <p><strong>Erreur 404</strong></p>\r\n\r\n <p>Le serveur ne parvient pas à trouver la page Web que vous tentez de consulter. La page que vous cherchez a peut-être été archivée ou déplacée. Veuillez vérifier l'exactitude de l'adresse URL de la page que vous cherchez.</p>\r\n\r\n <p>Pour vous aider, nous vous recommandons d'utiliser les options suivantes :</p>\r\n\r\n <ul>\r\n <li>essayez d'accéder à la dernière page que vous avez visitée sur notre site Web;</li>\r\n <li>visitez notre <a href=\"/fr/accueil\">page d'accueil</a>; ou</li>\r\n <li>utilisez le <a href=\"/fr/recherche\">moteur de recherche</a> pour trouver la page que vous cherchez;</li>\r\n </ul>\r\n\r\n <p>Si vous avez accédé à notre site au moyen d'un signet ou d'un lien se trouvant dans vos favoris, veuillez les mettre à jour.</p>\r\n\r\n <p>Nous vous invitons à vous servir de la page <a href=\"/fr/pages/se-representer-seul/contactez-nous\">Contactez-nous</a> pour nous signaler tout lien brisé. N'hésitez pas à nous faire part de vos idées et suggestions.</p>\r\n\r\n <p>Merci</p>\r\n\r\n </section>\r\n </div>\r\n </main>\r\n <script src=\"/Content/vendors/jquery/jquery.min.js\"></script>\r\n <script src=\"/content/vendors/bootstrap/js/bootstrap.min.js\"></script>\r\n</body>\r\n</html>"
|
| 14 |
+
},
|
| 15 |
+
"result": "robots.txt answered HTTP 404 (an HTML not-found page) at capture time: no robots.txt, so under RFC 9309 no path is disallowed",
|
| 16 |
+
"www.fct-cf.gc.ca": "no rows come from this host (it only 301-redirects to www.fct-cf.ca); no rows to drop"
|
| 17 |
+
}
|
scrapers/code.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"build_ca_fcr.py": "9e6bf4d92b001acbb1aaa3e8fb9510afc5567ceaf89b4b0d2f7a74ee4673ce3f",
|
| 3 |
+
"build_rules_parquet.py": "efd233bbfd90ec9fcf8e029eaef520e380e3f776fb1e6107edbad2d5fd642326",
|
| 4 |
+
"jf/archive_build.py": "1a765bbc1e8a801f0b9a82328de90efdad4924812001c988b83f190d13c68903",
|
| 5 |
+
"jf/archive_cc.py": "55cbaa9109237a1fc3f4aa879d226cd6d822e52458e7bbd57e6adb0b9d482533",
|
| 6 |
+
"jf/ca_archive.py": "656fbbcbb355db614a502f0176106a8eeb6c30ca8ecd68ce5bcc217076869cc0",
|
| 7 |
+
"jf/ccpace.py": "2c4a9c055c1f5288a11a3eb99d149ba9bd7d58831419b07ca058cf79c618deee",
|
| 8 |
+
"jf/fetcher.py": "e6e385a9dac065f02dcb7d91e58643475bc3ac416e4af7cad403918c8c6e7e0b",
|
| 9 |
+
"jf/hub_build_arch.py": "b8c842d36f838609a10853cf1c54fc7bd63f8f733c8071e483d105469ccdcac1",
|
| 10 |
+
"jf/hub_common.py": "564f1e98aa02a2f4b2bcdd0bc2289e326cf894d448f2d33b4ffddfd3bb9ad954",
|
| 11 |
+
"jf/pii.py": "340714b535d171433f7ea6d9ebb81646009e1aab72fd70e857d2386ebe4b8a97",
|
| 12 |
+
"jf/refetch_capture_hashes.py": "33381ff4515058ff47d77d831c692b07bac39a4f59cd1e240c2260b91741490f",
|
| 13 |
+
"jf/run_archive_ca.py": "1845672bdd0d41e57cf4d357ee5fbdd3bc6652e56e36f93457aa6f2e62fa402d",
|
| 14 |
+
"jf/schema.py": "b3a7ba7e659976d08a4c8850ab7df5a2dc973663a41362a5a9cfb8293271c071",
|
| 15 |
+
"jf/writer.py": "b96b0b630e4fbb6437a836a7f18fcb80be7f75a2bc26ad087038d3c84735aca1",
|
| 16 |
+
"rules_schema.py": "260624ac1359de944b5c1f51632ea7e7cb150bb3b3954fadafc65b52803df4dd",
|
| 17 |
+
"splitter.py": "d1c5500814ac4aa040d2067f20644571b659b081385ff63f26601be9b1c59c59"
|
| 18 |
}
|
scrapers/jf/archive_build.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Archive-lane staging writer: rows.jsonl (+provenance), judges/forms parquet with the Directory schema
|
| 2 |
+
(court_id null allowed per Chief of Staff instruction), counts-only manifest, scrapers/, SHA256SUMS, checks."""
|
| 3 |
+
import json, os, shutil, glob, collections, datetime as dt
|
| 4 |
+
import pyarrow as pa, pyarrow.parquet as pq
|
| 5 |
+
from ..schema import cs, FORBIDDEN_JUDGE_FIELDS
|
| 6 |
+
from ..pii import sweep_rows
|
| 7 |
+
from .. import writer
|
| 8 |
+
PKG = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 9 |
+
|
| 10 |
+
def _schema_row(table, r):
|
| 11 |
+
# forms schema has no external_ids column: provenance stays in rows.jsonl (and provenance_pages.json)
|
| 12 |
+
return r if "external_ids" in cs.SCHEMAS[table].names else {k: v for k, v in r.items() if k != "external_ids"}
|
| 13 |
+
|
| 14 |
+
def validate(table, rows):
|
| 15 |
+
errs = [f"row {i}: {m}" for i, m in cs.validate_rows(table, [_schema_row(table, r) for r in rows])]
|
| 16 |
+
for i, r in enumerate(rows):
|
| 17 |
+
if FORBIDDEN_JUDGE_FIELDS & set(r): errs.append(f"row {i}: forbidden field")
|
| 18 |
+
ex = r.get("external_ids") or {}
|
| 19 |
+
for k in ("archive_url", "capture_timestamp", "original_url"):
|
| 20 |
+
if not ex.get(k): errs.append(f"row {i}: provenance {k} missing")
|
| 21 |
+
return errs
|
| 22 |
+
|
| 23 |
+
def build(out_dir, tables, provenance, readme_kw, skipped=None, scraper_files=(), notes=""):
|
| 24 |
+
os.makedirs(out_dir, exist_ok=True)
|
| 25 |
+
counts, pii = {}, {}
|
| 26 |
+
with open(os.path.join(out_dir, "rows.jsonl"), "w") as jf:
|
| 27 |
+
for name, rows in tables.items():
|
| 28 |
+
rows, c = sweep_rows(rows)
|
| 29 |
+
pii.update({f"{name}.{k}": v for k, v in c.items()})
|
| 30 |
+
errs = validate(name, rows)
|
| 31 |
+
if errs: raise ValueError(errs[:5])
|
| 32 |
+
for r in rows:
|
| 33 |
+
o = {"table": name, **r}; o["source_retrieved_at"] = r["source_retrieved_at"].isoformat() if r.get("source_retrieved_at") else None
|
| 34 |
+
for k in ("appointed_date", "term_end_date", "version_date"):
|
| 35 |
+
if o.get(k): o[k] = o[k].isoformat()
|
| 36 |
+
o["external_ids"] = dict(r.get("external_ids") or {})
|
| 37 |
+
jf.write(json.dumps(o, ensure_ascii=False) + "\n")
|
| 38 |
+
if rows:
|
| 39 |
+
os.makedirs(os.path.join(out_dir, "data"), exist_ok=True)
|
| 40 |
+
prow = [_schema_row(name, {**r, "external_ids": list((r.get("external_ids") or {}).items())}) for r in rows]
|
| 41 |
+
t = pa.Table.from_pylist(prow, schema=cs.SCHEMAS[name])
|
| 42 |
+
pq.write_table(t, os.path.join(out_dir, "data", f"{name}-00000.parquet"), compression="zstd")
|
| 43 |
+
counts[name] = len(rows)
|
| 44 |
+
json.dump(provenance, open(os.path.join(out_dir, "provenance_pages.json"), "w"), indent=1)
|
| 45 |
+
writer.write_manifest(out_dir, counts, pii, skipped)
|
| 46 |
+
if notes: open(os.path.join(out_dir, "manifests", "MANIFEST.md"), "a").write("\n## Notes\n\n" + notes + "\n")
|
| 47 |
+
writer.write_readme(out_dir, **readme_kw)
|
| 48 |
+
sd = os.path.join(out_dir, "scrapers"); os.makedirs(sd, exist_ok=True)
|
| 49 |
+
code = {}
|
| 50 |
+
for rel in ("fetcher.py", "schema.py", "pii.py", "writer.py", "archive/cc.py", "archive/build.py", *scraper_files):
|
| 51 |
+
src = rel if os.path.isabs(rel) else os.path.join(PKG, rel)
|
| 52 |
+
dst = os.path.join(sd, os.path.basename(rel) if os.path.isabs(rel) else rel.replace("/", "_")); shutil.copy(src, dst)
|
| 53 |
+
code[os.path.basename(dst)] = writer.sha256_file(dst)
|
| 54 |
+
json.dump(code, open(os.path.join(sd, "code.json"), "w"), indent=1, sort_keys=True)
|
| 55 |
+
writer.write_sha256sums(out_dir)
|
| 56 |
+
return counts, pii
|
| 57 |
+
|
| 58 |
+
def checks(out_dir):
|
| 59 |
+
res = {}
|
| 60 |
+
rows = [json.loads(l) for l in open(os.path.join(out_dir, "rows.jsonl"))]
|
| 61 |
+
for name in ("judges", "forms"):
|
| 62 |
+
rs = [r for r in rows if r["table"] == name]
|
| 63 |
+
idk = "judge_id" if name == "judges" else "form_id"
|
| 64 |
+
ids = collections.Counter(r[idk] for r in rs)
|
| 65 |
+
res[name] = dict(rows=len(rs), with_text=sum(1 for r in rs if r.get("text")), without_text=sum(1 for r in rs if not r.get("text")),
|
| 66 |
+
duplicate_ids=sum(v - 1 for v in ids.values() if v > 1),
|
| 67 |
+
missing_provenance=sum(1 for r in rs if not all(r["external_ids"].get(k) for k in ("archive_url", "capture_timestamp", "original_url"))))
|
| 68 |
+
caps = sorted(r["external_ids"]["capture_timestamp"] for r in rs)
|
| 69 |
+
res[name]["capture_range"] = (caps[0], caps[-1]) if caps else None
|
| 70 |
+
resweep = 0
|
| 71 |
+
from ..pii import sweep
|
| 72 |
+
for r in rows:
|
| 73 |
+
for f in ("text", "title", "full_name", "chamber_or_division"):
|
| 74 |
+
if isinstance(r.get(f), str): resweep += sum(sweep(r[f])[1].values())
|
| 75 |
+
res["pii_residual_hits"] = resweep
|
| 76 |
+
res["pdfs_on_disk"] = len([p for p in glob.glob(os.path.join(out_dir, "**", "*"), recursive=True) if p.lower().endswith(".pdf")])
|
| 77 |
+
bad = 0
|
| 78 |
+
for line in open(os.path.join(out_dir, "SHA256SUMS")):
|
| 79 |
+
h, rel = line.rstrip("\n").split(" ", 1)
|
| 80 |
+
if writer.sha256_file(os.path.join(out_dir, rel)) != h: bad += 1
|
| 81 |
+
res["sha256_mismatches"] = bad
|
| 82 |
+
return res
|
scrapers/jf/archive_cc.py
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Common Crawl client: CDX index query + HTTP range fetch of a single WARC record.
|
| 2 |
+
data.commoncrawl.org paced by the fleet-shared flock (see get); no retries;
|
| 3 |
+
stop source (ArchiveBlocked) on 403/WAF. Logs every request to a JSONL log."""
|
| 4 |
+
import fcntl, gzip, io, json, os, time, urllib.parse, requests
|
| 5 |
+
LOCK = "/workspace/muni/cc_pace.lock"; STAMP = "/workspace/muni/cc_pace.last_end"; GAP = 2.0; SHARED = {"data.commoncrawl.org"}
|
| 6 |
+
UA = "WorldLawsCourtsBot/0.1 (research dataset; polite; archive-backup lane)"
|
| 7 |
+
class ArchiveBlocked(Exception): pass
|
| 8 |
+
class CC:
|
| 9 |
+
def __init__(self, log_path, min_interval=2.5, colls=None):
|
| 10 |
+
self.s = requests.Session(); self.s.headers["User-Agent"] = UA
|
| 11 |
+
self.last = {}; self.min_interval = min_interval; self.log_path = log_path
|
| 12 |
+
self.blocks = {}; self.colls = colls; self.bytes = 0
|
| 13 |
+
def _log(self, **kw):
|
| 14 |
+
kw["ts"] = time.strftime("%Y-%m-%dT%H:%M:%S%z")
|
| 15 |
+
with open(self.log_path, "a") as f: f.write(json.dumps(kw) + "\n")
|
| 16 |
+
def get(self, url, headers=None, kind=""):
|
| 17 |
+
"""One request, no retries. data.commoncrawl.org requests take the fleet-shared flock
|
| 18 |
+
/workspace/muni/cc_pace.lock (held through request + body read) and wait until
|
| 19 |
+
/workspace/muni/cc_pace.last_end + 2 s; other archive hosts use per-host min_interval."""
|
| 20 |
+
host = urllib.parse.urlsplit(url).netloc
|
| 21 |
+
if self.blocks.get(host, 0) >= 1: raise ArchiveBlocked(host)
|
| 22 |
+
fd = None
|
| 23 |
+
if host in SHARED:
|
| 24 |
+
fd = os.open(LOCK, os.O_CREAT | os.O_RDWR, 0o666); fcntl.flock(fd, fcntl.LOCK_EX)
|
| 25 |
+
try: last = float(open(STAMP).read().strip() or 0)
|
| 26 |
+
except (FileNotFoundError, ValueError): last = 0.0
|
| 27 |
+
w = last + GAP - time.time()
|
| 28 |
+
else:
|
| 29 |
+
last = 0.0; w = self.min_interval - (time.monotonic() - self.last.get(host, 0))
|
| 30 |
+
try:
|
| 31 |
+
if w > 0: time.sleep(w)
|
| 32 |
+
start = time.time(); self.last[host] = time.monotonic(); r = None; err = None
|
| 33 |
+
try: r = self.s.get(url, headers=headers or {}, timeout=60); _ = r.content
|
| 34 |
+
except requests.RequestException as e: err = str(e)[:200]
|
| 35 |
+
end = time.time()
|
| 36 |
+
if fd is not None:
|
| 37 |
+
with open(STAMP + ".tmp", "w") as f: f.write(repr(end))
|
| 38 |
+
os.replace(STAMP + ".tmp", STAMP)
|
| 39 |
+
finally:
|
| 40 |
+
if fd is not None: fcntl.flock(fd, fcntl.LOCK_UN); os.close(fd)
|
| 41 |
+
self._log(url=url, range=(headers or {}).get("Range"), kind=kind, start=round(start, 3), end=round(end, 3),
|
| 42 |
+
gap_from_last_end=round(start - last, 3) if fd is not None else None,
|
| 43 |
+
status=None if r is None else r.status_code, n=0 if r is None else len(r.content), err=err)
|
| 44 |
+
if r is None or r.status_code in (429, 500, 502, 503, 504): return None
|
| 45 |
+
if r.status_code == 403 or (r.status_code == 200 and b"captcha" in r.content[:3000].lower()):
|
| 46 |
+
self.blocks[host] = 1; raise ArchiveBlocked(f"{host}: 403/WAF")
|
| 47 |
+
self.bytes += len(r.content)
|
| 48 |
+
return r
|
| 49 |
+
def collections(self):
|
| 50 |
+
if self.colls is None:
|
| 51 |
+
r = self.get("https://index.commoncrawl.org/collinfo.json", kind="cc_coll")
|
| 52 |
+
self.colls = r.json() if r is not None else []
|
| 53 |
+
return self.colls
|
| 54 |
+
def cdx(self, coll_api, url, match="exact", extra=""):
|
| 55 |
+
q = f"{coll_api}?url={urllib.parse.quote(url, safe='')}&matchType={match}&output=json{extra}"
|
| 56 |
+
r = self.get(q, kind="cc_cdx")
|
| 57 |
+
if r is None or r.status_code != 200: return []
|
| 58 |
+
return [json.loads(l) for l in r.text.splitlines() if l.strip()]
|
| 59 |
+
def fetch_record(self, c):
|
| 60 |
+
"""Range-fetch one WARC record -> (http_status, headers dict, body bytes, archive_url)."""
|
| 61 |
+
off, ln = int(c["offset"]), int(c["length"])
|
| 62 |
+
au = f"https://data.commoncrawl.org/{c['filename']}"
|
| 63 |
+
r = self.get(au, headers={"Range": f"bytes={off}-{off+ln-1}"}, kind="cc_warc")
|
| 64 |
+
if r is None or r.status_code not in (200, 206): return None
|
| 65 |
+
raw = gzip.GzipFile(fileobj=io.BytesIO(r.content)).read()
|
| 66 |
+
# WARC headers \r\n\r\n HTTP headers \r\n\r\n body
|
| 67 |
+
_, rest = raw.split(b"\r\n\r\n", 1)
|
| 68 |
+
http_head, body = rest.split(b"\r\n\r\n", 1)
|
| 69 |
+
lines = http_head.decode("latin-1").split("\r\n")
|
| 70 |
+
st = int(lines[0].split()[1]); hd = {}
|
| 71 |
+
for l in lines[1:]:
|
| 72 |
+
if ":" in l: k, v = l.split(":", 1); hd[k.strip().lower()] = v.strip()
|
| 73 |
+
if "chunked" in hd.get("transfer-encoding", ""): body = dechunk(body)
|
| 74 |
+
return st, hd, body, f"{au}#offset={off}&length={ln}"
|
| 75 |
+
def dechunk(b):
|
| 76 |
+
out = b""; i = 0
|
| 77 |
+
while True:
|
| 78 |
+
j = b.find(b"\r\n", i)
|
| 79 |
+
if j < 0: break
|
| 80 |
+
try: n = int(b[i:j].split(b";")[0], 16)
|
| 81 |
+
except ValueError: return b
|
| 82 |
+
if n == 0: break
|
| 83 |
+
out += b[j+2:j+2+n]; i = j + 2 + n + 2
|
| 84 |
+
return out
|
| 85 |
+
|
| 86 |
+
# ---- Local cluster.idx lookup (index.commoncrawl.org refused connections from the box on 2026-10-26;
|
| 87 |
+
# ---- the same CDX shards are public on data.commoncrawl.org, so we bisect cluster.idx locally and
|
| 88 |
+
# ---- range-fetch only the needed ~250 KB cdx blocks).
|
| 89 |
+
import bisect, os, zlib
|
| 90 |
+
IDX_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "archive_lane", "ccidx")
|
| 91 |
+
_idx_cache = {}
|
| 92 |
+
def _load_idx(coll):
|
| 93 |
+
if coll not in _idx_cache:
|
| 94 |
+
keys, rows = [], []
|
| 95 |
+
with open(os.path.join(IDX_DIR, f"{coll}.cluster.idx"), "rb") as f:
|
| 96 |
+
for line in f:
|
| 97 |
+
k, rest = line.rstrip(b"\n").split(b"\t", 1)
|
| 98 |
+
fn, off, ln, _ = rest.split(b"\t")
|
| 99 |
+
keys.append(k.split(b" ")[0].decode("utf-8", "replace")); rows.append((fn.decode(), int(off), int(ln)))
|
| 100 |
+
_idx_cache[coll] = (keys, rows)
|
| 101 |
+
return _idx_cache[coll]
|
| 102 |
+
def surt(url):
|
| 103 |
+
p = urllib.parse.urlsplit(url)
|
| 104 |
+
host = p.hostname or ""
|
| 105 |
+
if host.startswith("www."): host = host[4:]
|
| 106 |
+
s = ",".join(reversed(host.split("."))) + ")"
|
| 107 |
+
path = p.path or "/"
|
| 108 |
+
if p.query: path += "?" + p.query
|
| 109 |
+
return (s + path).lower()
|
| 110 |
+
def local_cdx(cc, coll, url, prefix=False):
|
| 111 |
+
"""Return CDX dicts (url, status, mime, digest, filename, offset, length, timestamp) for url (exact or prefix)."""
|
| 112 |
+
keys, rows = _load_idx(coll)
|
| 113 |
+
key = surt(url)
|
| 114 |
+
i = max(bisect.bisect_left(keys, key) - 1, 0)
|
| 115 |
+
out = []
|
| 116 |
+
while i < len(keys):
|
| 117 |
+
if i > 0 and keys[i] > key and not (prefix and keys[i].startswith(key)) and not keys[i-1] <= key:
|
| 118 |
+
break
|
| 119 |
+
fn, off, ln = rows[i]
|
| 120 |
+
r = cc.get(f"https://data.commoncrawl.org/cc-index/collections/{coll}/indexes/{fn}",
|
| 121 |
+
headers={"Range": f"bytes={off}-{off+ln-1}"}, kind="cc_cdx_block")
|
| 122 |
+
if r is None: break
|
| 123 |
+
txt = zlib.decompress(r.content, 16 + zlib.MAX_WBITS).decode("utf-8", "replace")
|
| 124 |
+
last = None
|
| 125 |
+
for line in txt.splitlines():
|
| 126 |
+
k, ts, js = line.split(" ", 2); last = k
|
| 127 |
+
if k == key or (prefix and k.startswith(key)):
|
| 128 |
+
d = json.loads(js); d["timestamp"] = ts; d["urlkey"] = k; out.append(d)
|
| 129 |
+
if last is None or last > key and not (prefix and last.startswith(key)): break
|
| 130 |
+
i += 1
|
| 131 |
+
if i < len(keys) and not (keys[i] <= key or (prefix and keys[i].startswith(key))): break
|
| 132 |
+
return out
|
scrapers/jf/ca_archive.py
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Federal Court of Canada. Live www.fct-cf.gc.ca fails (TLS EOF) and Common Crawl has only 301s for it; the court moved
|
| 2 |
+
to www.fct-cf.ca (Wayback shows www.fct-cf.gc.ca -> www.fct-cf.ca 301 on 2026-08-14). Pages recovered from Common Crawl
|
| 3 |
+
WARC captures of www.fct-cf.ca (robots.txt for that host: 404 in CC captures -> nothing disallowed).
|
| 4 |
+
Judges: name, title, court, appointment date (only the appointment sentence is parsed; no bio text kept), bio URL."""
|
| 5 |
+
import re, io, hashlib, json, urllib.parse, datetime as dt, subprocess, tempfile, os
|
| 6 |
+
from bs4 import BeautifulSoup
|
| 7 |
+
HOST = "https://www.fct-cf.ca"
|
| 8 |
+
COURT = "Federal Court (Canada)"
|
| 9 |
+
def cap(ts): return dt.datetime.strptime(ts, "%Y%m%d%H%M%S").replace(tzinfo=dt.timezone.utc)
|
| 10 |
+
def prov(m, **kw): return {"archive_url": m["archive_url"], "capture_timestamp": m["capture_timestamp"], "original_url": m["original_url"],
|
| 11 |
+
"archive_source": "commoncrawl:" + m["collection"], "court_name": COURT, **kw}
|
| 12 |
+
MONTHS = "January|February|March|April|May|June|July|August|September|October|November|December"
|
| 13 |
+
DATE = re.compile(rf"({MONTHS})\s+(\d{{1,2}}),?\s+(\d{{4}})")
|
| 14 |
+
EXCL = re.compile(r"Court Martial|Tribunal|Queen|King’s Counsel|King's Counsel|Deputy Minister|Regional Director|Refugee|Order of|Board", re.I)
|
| 15 |
+
def appointment(html):
|
| 16 |
+
t = BeautifulSoup(html, "html.parser").get_text(" ", strip=True)
|
| 17 |
+
best = None
|
| 18 |
+
for s in re.split(r"(?<=[.])\s+", t):
|
| 19 |
+
if not re.search(r"\bappointed\b|\bappointment to the Federal Court\b", s, re.I): continue
|
| 20 |
+
s2 = s[s.lower().rfind("appoint"):] if len(s) > 400 else s
|
| 21 |
+
s2 = re.sub(r"\([^)]*title of (the|that) office changed[^)]*\)", "", s2)
|
| 22 |
+
if EXCL.search(s2) and "Federal Court" not in s2: continue
|
| 23 |
+
if not re.search(r"Federal Court|Associate Judge|Prothonotary|^Appointed (on )?" + f"({MONTHS})", s2): continue
|
| 24 |
+
m = DATE.search(s2)
|
| 25 |
+
if m:
|
| 26 |
+
d = dt.datetime.strptime(" ".join(m.groups()), "%B %d %Y").date(); best = (d, None)
|
| 27 |
+
elif best is None:
|
| 28 |
+
mm = re.search(rf"({MONTHS})\s+(\d{{4}})", s2)
|
| 29 |
+
if mm: best = (None, " ".join(mm.groups()))
|
| 30 |
+
return best or (None, None)
|
| 31 |
+
def judges(members_html, members_meta, bios):
|
| 32 |
+
"""bios: {absolute_bio_url_lower: (html, meta)}"""
|
| 33 |
+
soup = BeautifulSoup(members_html, "html.parser")
|
| 34 |
+
rows, seen = [], set()
|
| 35 |
+
for a in soup.find_all("a", href=True):
|
| 36 |
+
h = a["href"]
|
| 37 |
+
if not re.search(r"/members-of-the-court/(judges|associate-judges)/", h): continue
|
| 38 |
+
url = urllib.parse.urljoin(HOST, h.split("#")[0])
|
| 39 |
+
if url in seen: continue
|
| 40 |
+
seen.add(url)
|
| 41 |
+
# name = text of the nearest preceding heading-ish element in the card
|
| 42 |
+
card = a.find_parent(["div", "li", "article"]) or a.parent
|
| 43 |
+
txt = re.sub(r"\s+", " ", card.get_text(" ", strip=True)).replace("Read more", "").strip()
|
| 44 |
+
aj = "/associate-judges/" in h
|
| 45 |
+
name = re.sub(r"^(The (Associate )?Chief Justice\s*)?The Honourable\s*", "", txt).strip()
|
| 46 |
+
supern = name.endswith("*"); name = name.rstrip(" *").strip()
|
| 47 |
+
office = "Chief Justice" if h.endswith("alan-s-diner") else "Associate Chief Justice" if h.endswith("martine-st-louis") else ("Associate Judge" if aj else "Judge")
|
| 48 |
+
full = name if aj else f"The Honourable {name}"
|
| 49 |
+
b = bios.get(url.lower())
|
| 50 |
+
ad, raw = appointment(b[0]) if b else (None, None)
|
| 51 |
+
ext = prov(members_meta, office=office)
|
| 52 |
+
if supern: ext["supernumerary"] = "true"
|
| 53 |
+
if b: ext.update(bio_archive_url=b[1]["archive_url"], bio_capture_timestamp=b[1]["capture_timestamp"])
|
| 54 |
+
if raw: ext["appointment_raw"] = raw
|
| 55 |
+
rows.append(dict(judge_id="ca-fc-" + hashlib.sha1(url.encode()).hexdigest()[:16], court_id=None, full_name=full,
|
| 56 |
+
title=("Associate Judge" if aj else "Chief Justice" if office == "Chief Justice" else "Associate Chief Justice" if office == "Associate Chief Justice" else "Justice"),
|
| 57 |
+
role="chief" if office == "Chief Justice" else "associate", chamber_or_division=None, appointed_date=ad, term_end_date=None,
|
| 58 |
+
appointing_authority="Governor in Council", status="sitting", official_bio_url=url, external_ids=ext,
|
| 59 |
+
source_url=members_meta["original_url"], source_retrieved_at=cap(members_meta["capture_timestamp"])))
|
| 60 |
+
return rows
|
| 61 |
+
def rtf_text(b):
|
| 62 |
+
s = b.decode("latin-1")
|
| 63 |
+
s = re.sub(r"\\'([0-9a-f]{2})", lambda m: bytes([int(m.group(1), 16)]).decode("cp1252", "replace"), s)
|
| 64 |
+
s = re.sub(r"\\par[d]?\b", "\n", s); s = re.sub(r"\\[a-zA-Z]+-?\d* ?", "", s); s = re.sub(r"[{}]", "", s)
|
| 65 |
+
return re.sub(r"[ \t]+", " ", s).strip()
|
| 66 |
+
def file_text(body, fmt):
|
| 67 |
+
if fmt == "pdf":
|
| 68 |
+
fd, path = tempfile.mkstemp(suffix=".pdf")
|
| 69 |
+
try:
|
| 70 |
+
with os.fdopen(fd, "wb") as f: f.write(body)
|
| 71 |
+
return subprocess.run(["pdftotext", "-layout", path, "-"], capture_output=True, timeout=120).stdout.decode("utf-8", "replace")
|
| 72 |
+
finally:
|
| 73 |
+
if os.path.exists(path): os.remove(path) # never keep PDF binaries
|
| 74 |
+
if fmt == "rtf": return rtf_text(body)
|
| 75 |
+
return ""
|
| 76 |
+
def form_rows(html, meta, lang):
|
| 77 |
+
soup = BeautifulSoup(html, "html.parser"); t = soup.find_all("table")[0]
|
| 78 |
+
trs = t.find_all("tr"); head = [c.get_text(" ", strip=True).lower() for c in trs[0].find_all(["th", "td"])]
|
| 79 |
+
out = []
|
| 80 |
+
for i, tr in enumerate(trs[1:]):
|
| 81 |
+
v = [c.get_text(" ", strip=True) for c in tr.find_all(["td", "th"])]; d = dict(zip(head, v))
|
| 82 |
+
title = d.get("title") or d.get("titre"); num = d.get("form number") or d.get("numéro de la formule")
|
| 83 |
+
cat = d.get("category", ""); sub = d.get("subcategory", "")
|
| 84 |
+
a = next((x for x in tr.find_all("a", href=True) if re.search(r"\.(pdf|rtf|docx?)$", x["href"], re.I)), None) or tr.find("a", href=True)
|
| 85 |
+
url = urllib.parse.urljoin(HOST, a["href"]) if a else None
|
| 86 |
+
fmt = url.rsplit(".", 1)[-1].lower() if url and re.search(r"\.(pdf|rtf|docx?)$", url, re.I) else None
|
| 87 |
+
c = cat.lower()
|
| 88 |
+
category = "appeal" if "appeal" in c or "appel" in c else "general" if not c else "civil"
|
| 89 |
+
num = None if (not num or num.upper() in ("N/A", "S/O")) else num
|
| 90 |
+
fid = "ca-fc-form-" + lang + "-" + (re.sub(r"[^a-z0-9]+", "-", num.lower()).strip("-") if num else hashlib.sha1((title or str(i)).encode()).hexdigest()[:10])
|
| 91 |
+
out.append(dict(form_id=fid, court_id=None, jurisdiction_path=["ca", "federal"], form_number=num, title=title,
|
| 92 |
+
title_local=title if lang == "fr" else None, language=lang, category=category, file_format=fmt, url=url,
|
| 93 |
+
file_sha256=None, text=None, version_date=None, source_url=meta["original_url"], source_retrieved_at=cap(meta["capture_timestamp"]),
|
| 94 |
+
license=None, external_ids=prov(meta, form_category=cat, form_subcategory=sub)))
|
| 95 |
+
# disambiguate duplicate ids (same form number listed twice)
|
| 96 |
+
seen = {}
|
| 97 |
+
for r in out:
|
| 98 |
+
if r["form_id"] in seen:
|
| 99 |
+
seen[r["form_id"]] += 1; r["form_id"] += f"-{seen[r['form_id']]}"
|
| 100 |
+
else: seen[r["form_id"]] = 1
|
| 101 |
+
return out
|
scrapers/jf/ccpace.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Fleet-shared pacing for data.commoncrawl.org (same rule as world_laws_plan/scripts/arch1/arch.py):
|
| 2 |
+
exclusive flock on /workspace/muni/cc_pace.lock held across request + body read; /workspace/muni/cc_pace.last_end
|
| 3 |
+
holds the wall-clock END of the last fleet request; the next START waits until END + 2 s. No retries here.
|
| 4 |
+
Every request is appended to PACE_LOG (url, start, end, gap_from_last_end, status, bytes)."""
|
| 5 |
+
import fcntl, gzip, hashlib, base64, io, json, os, time, urllib.request
|
| 6 |
+
LOCK = "/workspace/muni/cc_pace.lock"; STAMP = "/workspace/muni/cc_pace.last_end"; GAP = 2.0
|
| 7 |
+
UA = "WorldLawsCourtsBot/0.1 (research dataset; polite; archive-backup lane)"
|
| 8 |
+
|
| 9 |
+
def get(url, pace_log, headers=None, timeout=90):
|
| 10 |
+
fd = os.open(LOCK, os.O_CREAT | os.O_RDWR, 0o666); fcntl.flock(fd, fcntl.LOCK_EX)
|
| 11 |
+
try:
|
| 12 |
+
try: last = float(open(STAMP).read().strip() or 0)
|
| 13 |
+
except (FileNotFoundError, ValueError): last = 0.0
|
| 14 |
+
w = last + GAP - time.time()
|
| 15 |
+
if w > 0: time.sleep(w)
|
| 16 |
+
start = time.time(); st, body, err = None, b"", None
|
| 17 |
+
try:
|
| 18 |
+
req = urllib.request.Request(url, headers={"User-Agent": UA, **(headers or {})})
|
| 19 |
+
with urllib.request.urlopen(req, timeout=timeout) as r: st, body = r.status, r.read()
|
| 20 |
+
except urllib.error.HTTPError as e: st = e.code
|
| 21 |
+
except Exception as e: err = f"{type(e).__name__}: {str(e)[:150]}"
|
| 22 |
+
end = time.time()
|
| 23 |
+
with open(STAMP + ".tmp", "w") as f: f.write(repr(end))
|
| 24 |
+
os.replace(STAMP + ".tmp", STAMP)
|
| 25 |
+
finally:
|
| 26 |
+
fcntl.flock(fd, fcntl.LOCK_UN); os.close(fd)
|
| 27 |
+
with open(pace_log, "a") as f:
|
| 28 |
+
f.write(json.dumps({"url": url, "range": (headers or {}).get("Range"), "start": round(start, 3), "end": round(end, 3),
|
| 29 |
+
"gap_from_last_end": round(start - last, 3), "status": st, "bytes": len(body), "err": err}) + "\n")
|
| 30 |
+
return st, body
|
| 31 |
+
|
| 32 |
+
def warc_record(archive_url, pace_log):
|
| 33 |
+
"""archive_url = https://data.commoncrawl.org/<file>#offset=O&length=L -> dict with http status, headers, body."""
|
| 34 |
+
base, frag = archive_url.split("#", 1); kv = dict(p.split("=") for p in frag.split("&"))
|
| 35 |
+
off, ln = int(kv["offset"]), int(kv["length"])
|
| 36 |
+
st, raw = get(base, pace_log, headers={"Range": f"bytes={off}-{off+ln-1}"})
|
| 37 |
+
if st not in (200, 206): return {"fetch_status": st}
|
| 38 |
+
rec = gzip.GzipFile(fileobj=io.BytesIO(raw)).read()
|
| 39 |
+
warc_head, rest = rec.split(b"\r\n\r\n", 1)
|
| 40 |
+
_wl = dict(l.split(": ", 1) for l in warc_head.decode("latin-1").split("\r\n")[1:] if ": " in l)
|
| 41 |
+
rest = rest[:int(_wl["Content-Length"])]
|
| 42 |
+
http_head, body = rest.split(b"\r\n\r\n", 1)
|
| 43 |
+
wh = dict(l.split(": ", 1) for l in warc_head.decode("latin-1").split("\r\n")[1:] if ": " in l)
|
| 44 |
+
hl = http_head.decode("latin-1").split("\r\n")
|
| 45 |
+
hh = {k.strip().lower(): v.strip() for k, v in (l.split(":", 1) for l in hl[1:] if ":" in l)}
|
| 46 |
+
if "chunked" in hh.get("transfer-encoding", "") and False: # CC stores de-chunked payloads
|
| 47 |
+
out, i = b"", 0
|
| 48 |
+
while True:
|
| 49 |
+
j = body.find(b"\r\n", i); n = int(body[i:j].split(b";")[0], 16) if j > 0 else 0
|
| 50 |
+
if n == 0: break
|
| 51 |
+
out += body[j+2:j+2+n]; i = j + 2 + n + 2
|
| 52 |
+
body = out
|
| 53 |
+
sha1_b32 = base64.b32encode(hashlib.sha1(body).digest()).decode()
|
| 54 |
+
return {"fetch_status": st, "http_status": int(hl[0].split()[1]), "warc_date": wh.get("WARC-Date"),
|
| 55 |
+
"warc_target": wh.get("WARC-Target-URI"), "payload_digest": wh.get("WARC-Payload-Digest"),
|
| 56 |
+
"body": body, "body_sha256": hashlib.sha256(body).hexdigest(), "body_sha1_b32": sha1_b32}
|
scrapers/jf/fetcher.py
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Polite, reusable fetcher. robots.txt aware (urllib.robotparser), per-host min pacing,
|
| 2 |
+
NO retries, host is marked skipped on 403/429/WAF/captcha/202-empty, raw byte cap,
|
| 3 |
+
PDFs never kept (text + sha256 extracted, temp file deleted).
|
| 4 |
+
Transport is injectable so tests run with zero network access."""
|
| 5 |
+
import hashlib, os, re, subprocess, tempfile, time, urllib.request, urllib.robotparser
|
| 6 |
+
from urllib.parse import urlsplit
|
| 7 |
+
|
| 8 |
+
UA = "WorldLawsCourtsBot/0.1 (research dataset; polite; contact via project)"
|
| 9 |
+
RAW_CAP_BYTES = 1 << 30 # 1 GB
|
| 10 |
+
MIN_FREE_BYTES = int(12.6 * (1 << 30))
|
| 11 |
+
WAF_MARKERS = re.compile(r"captcha|cf-chl|challenge-platform|access denied|request rejected|"
|
| 12 |
+
r"are you a robot|incapsula|_Incapsula_|akamai|perimeterx|ddos protection", re.I)
|
| 13 |
+
|
| 14 |
+
class HostSkipped(Exception): pass
|
| 15 |
+
class Disallowed(Exception): pass
|
| 16 |
+
class CapExceeded(Exception): pass
|
| 17 |
+
|
| 18 |
+
def urllib_transport(url, timeout=30):
|
| 19 |
+
"""Default (network) transport -> (status, headers dict, body bytes). Never used in tests."""
|
| 20 |
+
req = urllib.request.Request(url, headers={"User-Agent": UA})
|
| 21 |
+
try:
|
| 22 |
+
with urllib.request.urlopen(req, timeout=timeout) as r:
|
| 23 |
+
return r.status, dict(r.headers), r.read()
|
| 24 |
+
except urllib.error.HTTPError as e:
|
| 25 |
+
return e.code, dict(e.headers or {}), b""
|
| 26 |
+
|
| 27 |
+
class PoliteFetcher:
|
| 28 |
+
def __init__(self, transport=urllib_transport, min_interval=8.0, raw_cap=RAW_CAP_BYTES,
|
| 29 |
+
hard_disallow=None, clock=time.monotonic, sleep=time.sleep, disk_check_path="/workspace"):
|
| 30 |
+
self.transport, self.min_interval, self.raw_cap = transport, max(min_interval, 8.0), raw_cap
|
| 31 |
+
self.hard_disallow = hard_disallow or {} # host -> [path prefixes]
|
| 32 |
+
self.clock, self.sleep, self.disk_check_path = clock, sleep, disk_check_path
|
| 33 |
+
self.last, self.robots, self.skipped, self.raw_bytes, self.log = {}, {}, {}, 0, []
|
| 34 |
+
self.host_interval = {} # host -> seconds (robots Crawl-delay, never below min_interval)
|
| 35 |
+
|
| 36 |
+
def _pace(self, host):
|
| 37 |
+
if host in self.last:
|
| 38 |
+
wait = self.host_interval.get(host, self.min_interval) - (self.clock() - self.last[host])
|
| 39 |
+
if wait > 0: self.sleep(wait)
|
| 40 |
+
self.last[host] = self.clock()
|
| 41 |
+
|
| 42 |
+
def _check_disk(self):
|
| 43 |
+
if self.disk_check_path and os.path.exists(self.disk_check_path):
|
| 44 |
+
st = os.statvfs(self.disk_check_path)
|
| 45 |
+
if st.f_bavail * st.f_frsize < MIN_FREE_BYTES: raise CapExceeded("free disk below 12.6 GiB")
|
| 46 |
+
|
| 47 |
+
def _raw_get(self, url):
|
| 48 |
+
host = urlsplit(url).netloc.lower()
|
| 49 |
+
if host in self.skipped: raise HostSkipped(f"{host}: {self.skipped[host]}")
|
| 50 |
+
self._check_disk(); self._pace(host)
|
| 51 |
+
status, headers, body = self.transport(url)
|
| 52 |
+
self.log.append((url, status, len(body or b"")))
|
| 53 |
+
reason = self.block_reason(status, body or b"")
|
| 54 |
+
if reason:
|
| 55 |
+
self.skipped[host] = reason
|
| 56 |
+
raise HostSkipped(f"{host}: {reason}")
|
| 57 |
+
self.raw_bytes += len(body or b"")
|
| 58 |
+
if self.raw_bytes > self.raw_cap: raise CapExceeded("raw cap 1 GB reached")
|
| 59 |
+
return status, headers, body or b""
|
| 60 |
+
|
| 61 |
+
@staticmethod
|
| 62 |
+
def block_reason(status, body):
|
| 63 |
+
if status in (403, 429): return f"HTTP {status}"
|
| 64 |
+
if status == 202 and not body.strip(): return "HTTP 202 empty (bot challenge)"
|
| 65 |
+
if status >= 400: return None
|
| 66 |
+
if WAF_MARKERS.search(body[:20000].decode("utf-8", "ignore")): return "WAF/captcha page"
|
| 67 |
+
return None
|
| 68 |
+
|
| 69 |
+
def allowed(self, url):
|
| 70 |
+
p = urlsplit(url); host = p.netloc.lower(); path = p.path or "/"
|
| 71 |
+
for pre in self.hard_disallow.get(host, []):
|
| 72 |
+
if path.startswith(pre): return False
|
| 73 |
+
if host not in self.robots:
|
| 74 |
+
rp = urllib.robotparser.RobotFileParser()
|
| 75 |
+
status, _, body = self._raw_get(f"{p.scheme}://{host}/robots.txt")
|
| 76 |
+
if status == 200: rp.parse(robots_lines(body.decode("utf-8", "ignore")))
|
| 77 |
+
elif 400 <= status < 500: rp.parse([]) # no robots -> allowed
|
| 78 |
+
else: rp.disallow_all = True # server error -> be safe
|
| 79 |
+
self.robots[host] = rp
|
| 80 |
+
cd = rp.crawl_delay(UA) if status == 200 else None
|
| 81 |
+
if cd: self.host_interval[host] = max(self.min_interval, float(cd))
|
| 82 |
+
return self.robots[host].can_fetch(UA, url)
|
| 83 |
+
|
| 84 |
+
def get(self, url):
|
| 85 |
+
if not self.allowed(url): raise Disallowed(url)
|
| 86 |
+
status, headers, body = self._raw_get(url)
|
| 87 |
+
if status != 200: raise HostSkipped(f"{url}: HTTP {status} (no retry)")
|
| 88 |
+
return body
|
| 89 |
+
|
| 90 |
+
def get_text(self, url): return self.get(url).decode("utf-8", "replace")
|
| 91 |
+
|
| 92 |
+
def get_document_text(self, url):
|
| 93 |
+
"""Fetch a PDF/DOCX/etc., return (text, sha256, file_format). Raw file is deleted immediately."""
|
| 94 |
+
body = self.get(url)
|
| 95 |
+
sha = hashlib.sha256(body).hexdigest()
|
| 96 |
+
fmt = "pdf" if body[:5] == b"%PDF-" else os.path.splitext(urlsplit(url).path)[1].lstrip(".").lower() or "bin"
|
| 97 |
+
text = extract_text(body, fmt)
|
| 98 |
+
del body
|
| 99 |
+
return text, sha, fmt
|
| 100 |
+
|
| 101 |
+
def robots_lines(text):
|
| 102 |
+
"""urllib.robotparser ends a group at a blank line, so a file like courts.ie's
|
| 103 |
+
('User-agent: *', 'Crawl-delay: 10', '', 'Disallow: /docs/') would silently drop every
|
| 104 |
+
Disallow. Drop blank and comment-only lines so groups stay intact (stricter, never looser)."""
|
| 105 |
+
out = []
|
| 106 |
+
for ln in text.splitlines():
|
| 107 |
+
ln = ln.split("#", 1)[0].strip()
|
| 108 |
+
if ln: out.append(ln)
|
| 109 |
+
return out
|
| 110 |
+
|
| 111 |
+
def extract_text(body, fmt):
|
| 112 |
+
if fmt == "pdf":
|
| 113 |
+
fd, path = tempfile.mkstemp(suffix=".pdf")
|
| 114 |
+
try:
|
| 115 |
+
with os.fdopen(fd, "wb") as f: f.write(body)
|
| 116 |
+
r = subprocess.run(["pdftotext", "-layout", path, "-"], capture_output=True, timeout=120)
|
| 117 |
+
return r.stdout.decode("utf-8", "replace")
|
| 118 |
+
finally:
|
| 119 |
+
if os.path.exists(path): os.remove(path)
|
| 120 |
+
if fmt in ("html", "htm", "txt"): return body.decode("utf-8", "replace")
|
| 121 |
+
return "" # docx/odt: TODO (text only via python-docx if installed); never store binary
|
scrapers/jf/hub_build_arch.py
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Build AU (new repo) or CA (merge onto live tip) hub staging dir. usage: build_arch.py au|ca"""
|
| 2 |
+
import json, os, shutil, sys, time
|
| 3 |
+
sys.path.insert(0, os.path.dirname(__file__)); from common import *
|
| 4 |
+
P = sys.argv[1]
|
| 5 |
+
CFG = {"au": dict(src="australia_archive", out="australia_hub", live=None, tip=None, raw="au", scr="au_archive.py"),
|
| 6 |
+
"ca": dict(src="canada_archive", out="canada_hub", live=f"{JF}/live/ca", tip="690290b1174adf2a7b13705b7856546f6ece8a7f", raw="ca", scr="ca_archive.py")}[P]
|
| 7 |
+
SRC = f"{JF}/out/{CFG['src']}"; OUT = f"{JF}/out/{CFG['out']}"
|
| 8 |
+
shutil.rmtree(OUT, ignore_errors=True); os.makedirs(f"{OUT}/data"); os.makedirs(f"{OUT}/manifests"); os.makedirs(f"{OUT}/scrapers/jf")
|
| 9 |
+
js, judges = read_rows(f"{SRC}/data/judges-00000.parquet")
|
| 10 |
+
fs, _ = read_rows(f"{SRC}/data/forms-00000.parquet")
|
| 11 |
+
forms = [{k: v for k, v in json.loads(l).items() if k != "table"} for l in open(f"{SRC}/rows.jsonl") if json.loads(l)["table"] == "forms"]
|
| 12 |
+
fs = add_ext(fs)
|
| 13 |
+
AU_FILES = {"20260422215454": f"{JF}/archive_lane/raw/au/judges_current_by_appointment.webfetch.md",
|
| 14 |
+
"20260310084649": f"{JF}/archive_lane/raw/au/forms_fcr2011.webfetch.md"}
|
| 15 |
+
rawmap = raw_meta("ca") if P == "ca" else {}
|
| 16 |
+
def cap(e):
|
| 17 |
+
if P == "au":
|
| 18 |
+
f = AU_FILES[e["capture_timestamp"]]
|
| 19 |
+
return {"capture_sha256": sha(f), "capture_http_status": "unknown (not recorded by the archive reader)",
|
| 20 |
+
"capture_sha256_basis": "sha256 of the stored page text that was parsed: a WebFetch markdown rendering of the Wayback id_ capture (raw capture bytes could not be read from the box: TLS error to web.archive.org); not a hash of the original HTML"}
|
| 21 |
+
return capture_fields(e["archive_url"], rawmap)
|
| 22 |
+
for r in judges:
|
| 23 |
+
r["external_ids"].update(cap(r["external_ids"]))
|
| 24 |
+
b = r["external_ids"].get("bio_archive_url")
|
| 25 |
+
if b:
|
| 26 |
+
c = capture_fields(b, rawmap); r["external_ids"]["bio_capture_sha256"] = c["capture_sha256"]
|
| 27 |
+
for r in forms:
|
| 28 |
+
r["external_ids"].update(cap(r["external_ids"]))
|
| 29 |
+
r["external_ids"]["content"] = "text + file_sha256 of the archived form file" if r.get("file_sha256") else "metadata only: no form text and no file sha256 (form file not captured / not readable); capture_sha256 is of the forms listing page"
|
| 30 |
+
for k in ("version_date",):
|
| 31 |
+
if isinstance(r.get(k), str): r[k] = __import__("datetime").date.fromisoformat(r[k])
|
| 32 |
+
if isinstance(r.get("source_retrieved_at"), str): r["source_retrieved_at"] = __import__("datetime").datetime.fromisoformat(r["source_retrieved_at"])
|
| 33 |
+
if r.get("text") == "None": r["text"] = None
|
| 34 |
+
if P == "ca":
|
| 35 |
+
NOTE = ("NON-COMMERCIAL USE ONLY (gc-non-commercial): fct-cf.ca Important Notices allow reproduction for personal or public "
|
| 36 |
+
"non-commercial use without charge or further permission, unless otherwise specified; commercial redistribution of multiple "
|
| 37 |
+
"copies is prohibited without written permission from the Government of Canada's copyright administrator. Copy of an official "
|
| 38 |
+
"work published by the Government of Canada (Federal Court of Canada), not produced in affiliation with or with the endorsement of the Government of Canada.")
|
| 39 |
+
for r in judges + forms: r["external_ids"]["license_note"] = NOTE; r["external_ids"]["license_name"] = "gc-non-commercial"
|
| 40 |
+
for r in forms: r["license"] = "gc-non-commercial"
|
| 41 |
+
write_parquet(f"{OUT}/data/judges-00000.parquet", judges, js)
|
| 42 |
+
write_parquet(f"{OUT}/data/forms-00000.parquet", forms, fs)
|
| 43 |
+
_, J2 = read_rows(f"{OUT}/data/judges-00000.parquet"); _, F2 = read_rows(f"{OUT}/data/forms-00000.parquet")
|
| 44 |
+
def n_ok(rows): return sum(1 for r in rows if all(r["external_ids"].get(k) for k in ("archive_url", "capture_timestamp", "original_url")) and len(r["external_ids"].get("capture_sha256", "")) == 64)
|
| 45 |
+
C = {"judges": checks("judges", judges), "forms": checks("forms", forms), "judges_rows": len(J2), "forms_rows": len(F2),
|
| 46 |
+
"judges_with_provenance_and_capture_sha256": n_ok(J2), "forms_with_provenance_and_capture_sha256": n_ok(F2),
|
| 47 |
+
"forms_with_text": sum(1 for r in F2 if r.get("text")), "forms_with_file_sha256": sum(1 for r in F2 if r.get("file_sha256"))}
|
| 48 |
+
basis = {}
|
| 49 |
+
for r in J2 + F2: k = r["external_ids"]["capture_sha256_basis"][:60]; basis[k] = basis.get(k, 0) + 1
|
| 50 |
+
C["capture_basis"] = basis
|
| 51 |
+
# robots evidence
|
| 52 |
+
if P == "au":
|
| 53 |
+
rb = open(f"{JF}/archive_lane/robots/wb_www.fedcourt.gov.au_20260401053303.txt").read()
|
| 54 |
+
robots = {"host": "www.fedcourt.gov.au", "live": "HTTP 403 (Cloudflare challenge), 2026-10-26",
|
| 55 |
+
"evidence": {"source": "Wayback capture https://web.archive.org/web/20260401053303/https://www.fedcourt.gov.au/robots.txt", "capture_utc": "2026-04-01T05:33:03Z",
|
| 56 |
+
"body": rb, "body_sha256": hashlib.sha256(rb.encode()).hexdigest(),
|
| 57 |
+
"read_method": "WebFetch summary/markdown of the Wayback capture (box cannot open web.archive.org: TLS error); body transcribed from that read, not raw capture bytes",
|
| 58 |
+
"capture_http_status": "not recorded (archive reader does not expose it)"},
|
| 59 |
+
"paths_used": ["/about/judges/current-judges-appointment", "/forms-and-fees/forms/federal-court-rules"],
|
| 60 |
+
"result": "neither path matches a User-agent: * Disallow rule; FunnelBack group not applicable"}
|
| 61 |
+
else:
|
| 62 |
+
rec = [v | {"archive_url": k} for k, v in CAP.items() if v.get("pack") == "ca_robots"]
|
| 63 |
+
rec = rec[0] if rec else {}
|
| 64 |
+
body_f = f"{JF}/notes_verify/refix/bodies/{rec.get('body_sha256')}"
|
| 65 |
+
robots = {"host": "www.fct-cf.ca", "live": "not fetched (fct-cf hosts skipped for live fetching)"}
|
| 66 |
+
if rec.get("digest_match") and os.path.exists(body_f):
|
| 67 |
+
body = open(body_f, "rb").read()
|
| 68 |
+
robots["evidence"] = {"source": "Common Crawl robotstxt WARC record (byte-range read under the shared pace lock)", "archive_url": rec["archive_url"],
|
| 69 |
+
"original_url": rec["original_url"], "capture_timestamp": rec["capture_timestamp"], "warc_date": rec["warc_date"],
|
| 70 |
+
"http_status": rec["http_status"], "body_sha256": rec["body_sha256"], "cdx_sha1_verified": True, "body": body.decode("utf-8", "replace")}
|
| 71 |
+
robots["result"] = f"robots.txt answered HTTP {rec['http_status']} (an HTML not-found page) at capture time: no robots.txt, so under RFC 9309 no path is disallowed" if rec["http_status"] == 404 else "see body"
|
| 72 |
+
else:
|
| 73 |
+
robots["evidence"] = None; robots["result"] = "NOT READ - rows from this host must be dropped"
|
| 74 |
+
robots["www.fct-cf.gc.ca"] = "no rows come from this host (it only 301-redirects to www.fct-cf.ca); no rows to drop"
|
| 75 |
+
json.dump(robots, open(f"{OUT}/manifests/robots_evidence.json", "w"), indent=1, ensure_ascii=False)
|
| 76 |
+
C["robots_ok"] = bool(robots.get("evidence"))
|
| 77 |
+
# pacing logs
|
| 78 |
+
if P == "ca":
|
| 79 |
+
warcs = {u.split("#")[0] for r in J2 + F2 for u in (r["external_ids"]["archive_url"], r["external_ids"].get("bio_archive_url")) if u}
|
| 80 |
+
if rec: warcs.add(rec["archive_url"].split("#")[0])
|
| 81 |
+
orig = [l for l in open(f"{JF}/archive_lane/cc_requests.jsonl") if json.loads(l)["url"] in warcs]
|
| 82 |
+
new = [l for l in open(f"{JF}/notes_verify/refix/cc_pace_requests.jsonl") if json.loads(l)["url"] in warcs]
|
| 83 |
+
open(f"{OUT}/manifests/jf_cc_requests_original.jsonl", "w").writelines(orig)
|
| 84 |
+
open(f"{OUT}/manifests/jf_cc_pace_requests_shared_lock.jsonl", "w").writelines(new)
|
| 85 |
+
C["pace"] = {"original_requests": len(orig), "shared_lock_requests": len(new), "min_gap_s": min(json.loads(l)["gap_from_last_end"] for l in new)}
|
| 86 |
+
# scrapers
|
| 87 |
+
for f in os.listdir(f"{SRC}/scrapers"):
|
| 88 |
+
if f.endswith(".py"): shutil.copy(f"{SRC}/scrapers/{f}", f"{OUT}/scrapers/jf/{f}")
|
| 89 |
+
shutil.copy(f"{JF}/courts_jf/archive/cc.py", f"{OUT}/scrapers/jf/archive_cc.py"); shutil.copy(f"{JF}/courts_jf/ccpace.py", f"{OUT}/scrapers/jf/ccpace.py")
|
| 90 |
+
for f in ("common.py", "build_arch.py"): shutil.copy(f"{JF}/hub/{f}", f"{OUT}/scrapers/jf/hub_{f}")
|
| 91 |
+
if P == "ca": shutil.copy(f"{JF}/notes_verify/refix/refetch.py", f"{OUT}/scrapers/jf/refetch_capture_hashes.py")
|
| 92 |
+
code = json.load(open(f"{CFG['live']}/scrapers/code.json")) if CFG["live"] else {}
|
| 93 |
+
for d, _, fl in os.walk(f"{OUT}/scrapers/jf"):
|
| 94 |
+
for f in fl: code[os.path.relpath(f"{d}/{f}", f"{OUT}/scrapers")] = sha(f"{d}/{f}")
|
| 95 |
+
json.dump(dict(sorted(code.items())), open(f"{OUT}/scrapers/code.json", "w"), indent=2)
|
| 96 |
+
json.dump(C, open(f"{JF}/notes_verify/refix/{P}_build.json", "w"), indent=1, default=str)
|
| 97 |
+
print(json.dumps(C, default=str))
|
scrapers/jf/hub_common.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import hashlib, json, os, shutil, sys, re
|
| 2 |
+
import pyarrow as pa, pyarrow.parquet as pq
|
| 3 |
+
sys.path.insert(0, "/workspace/world_laws_plan/courts/schema"); sys.path.insert(0, "/workspace/courts_jf")
|
| 4 |
+
import courts_schema as CS
|
| 5 |
+
from courts_jf import pii
|
| 6 |
+
JF = "/workspace/courts_jf"
|
| 7 |
+
CAP = json.load(open(f"{JF}/notes_verify/refix/capture_hashes.json"))
|
| 8 |
+
def sha(p): return hashlib.sha256(open(p, "rb").read()).hexdigest()
|
| 9 |
+
def raw_meta(cc): # archive_url -> stored decoded body file
|
| 10 |
+
return {m["archive_url"]: f"{JF}/{m['file']}" for m in json.load(open(f"{JF}/archive_lane/raw/{cc}/meta.json"))}
|
| 11 |
+
def capture_fields(archive_url, rawmap):
|
| 12 |
+
c = CAP.get(archive_url, {})
|
| 13 |
+
if c.get("digest_match"):
|
| 14 |
+
return {"capture_sha256": c["body_sha256"], "capture_http_status": str(c["http_status"]), "capture_warc_date": c["warc_date"],
|
| 15 |
+
"capture_sha256_basis": "sha256 of the HTTP response payload in the WARC record, re-read 2026-10-26 under the shared pace lock; SHA1 matches the CDX digest"}
|
| 16 |
+
f = rawmap.get(archive_url)
|
| 17 |
+
if f and os.path.exists(f):
|
| 18 |
+
return {"capture_sha256": sha(f), "capture_http_status": "200",
|
| 19 |
+
"capture_sha256_basis": "sha256 of the stored page body that was parsed (decoded copy kept from the original 2026-10-26 read); the WARC re-read under the shared lock returned HTTP 503, so the CDX digest was not re-verified"}
|
| 20 |
+
raise SystemExit(f"no capture hash for {archive_url}")
|
| 21 |
+
def to_map(d): return [(k, "" if v is None else str(v)) for k, v in d.items()]
|
| 22 |
+
def write_parquet(path, rows, schema):
|
| 23 |
+
rows = [{k: (to_map(v) if isinstance(v, dict) else v) for k, v in r.items()} for r in rows]
|
| 24 |
+
os.makedirs(os.path.dirname(path), exist_ok=True)
|
| 25 |
+
pq.write_table(pa.Table.from_pylist(rows, schema=schema), path)
|
| 26 |
+
def add_ext(schema):
|
| 27 |
+
return schema if "external_ids" in schema.names else schema.append(pa.field("external_ids", pa.map_(pa.string(), pa.string())))
|
| 28 |
+
def read_rows(path):
|
| 29 |
+
t = pq.read_table(path); rows = t.to_pylist()
|
| 30 |
+
for r in rows:
|
| 31 |
+
if isinstance(r.get("external_ids"), list): r["external_ids"] = dict(r["external_ids"])
|
| 32 |
+
return t.schema, rows
|
| 33 |
+
def checks(table, rows, extra=("external_ids",)):
|
| 34 |
+
base = [{k: v for k, v in r.items() if k in CS.SCHEMAS[table].names} for r in rows]
|
| 35 |
+
errs = CS.validate_rows(table, base)
|
| 36 |
+
ids = [r["judge_id"] if table == "judges" else r["form_id"] for r in rows]
|
| 37 |
+
dup = len(ids) - len(set(ids))
|
| 38 |
+
hits = 0
|
| 39 |
+
for r in rows:
|
| 40 |
+
for f in ("text", "title", "full_name", "chamber_or_division", "role"):
|
| 41 |
+
if isinstance(r.get(f), str): hits += sum(pii.sweep(r[f])[1].values())
|
| 42 |
+
return {"validate_errors": len(errs), "first_errors": errs[:3], "duplicate_ids": dup, "pii_hits": hits}
|
| 43 |
+
def sha256sums(root, files):
|
| 44 |
+
lines = [f"{sha(os.path.join(root, f))} {f}" for f in sorted(files)]
|
| 45 |
+
open(os.path.join(root, "SHA256SUMS"), "w").write("\n".join(lines) + "\n")
|
| 46 |
+
def tree(root): return sorted(os.path.relpath(os.path.join(d, f), root) for d, _, fs in os.walk(root) for f in fs)
|
| 47 |
+
def progress(line):
|
| 48 |
+
with open(f"{JF}/FIX_PROGRESS.md", "a") as f: f.write(line.rstrip() + "\n")
|
scrapers/jf/pii.py
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""PII sweep: redact national-ID-like numbers, personal (mobile) phones, free-webmail addresses.
|
| 2 |
+
Office phones and institutional emails are kept."""
|
| 3 |
+
import re
|
| 4 |
+
FREE_WEBMAIL = {"gmail.com","googlemail.com","yahoo.com","yahoo.co.uk","outlook.com","hotmail.com",
|
| 5 |
+
"hotmail.co.uk","live.com","msn.com","aol.com","icloud.com","me.com","proton.me","protonmail.com",
|
| 6 |
+
"gmx.com","gmx.de","web.de","mail.ru","yandex.ru","qq.com","163.com"}
|
| 7 |
+
EMAIL = re.compile(r"\b[\w.+-]+@([\w-]+(?:\.[\w-]+)+)\b")
|
| 8 |
+
NATIONAL_ID = [
|
| 9 |
+
("us_ssn", re.compile(r"\b\d{3}-\d{2}-\d{4}\b")),
|
| 10 |
+
("uk_nino", re.compile(r"\b[A-CEGHJ-PR-TW-Z]{2}\s?\d{2}\s?\d{2}\s?\d{2}\s?[A-D]\b")),
|
| 11 |
+
("br_cpf", re.compile(r"\b\d{3}\.\d{3}\.\d{3}-\d{2}\b")),
|
| 12 |
+
("in_aadhaar", re.compile(r"\b\d{4}\s\d{4}\s\d{4}\b")),
|
| 13 |
+
("es_dni", re.compile(r"\b\d{8}[A-HJ-NP-TV-Z]\b")),
|
| 14 |
+
("za_id", re.compile(r"\b\d{13}\b")),
|
| 15 |
+
]
|
| 16 |
+
# mobile prefixes treated as personal; landlines (office) kept
|
| 17 |
+
PERSONAL_PHONE = re.compile(r"(?:\+44\s?7\d{3}|\b07\d{3})\s?\d{3}\s?\d{3}\b|\+353\s?8[3-9]\s?\d{3}\s?\d{4}\b|\+61\s?4\d{2}\s?\d{3}\s?\d{3}\b|\+254\s?7\d{2}\s?\d{6}\b")
|
| 18 |
+
|
| 19 |
+
def sweep(text):
|
| 20 |
+
"""Return (redacted_text, counts dict)."""
|
| 21 |
+
if not text: return text, {}
|
| 22 |
+
counts = {}
|
| 23 |
+
def bump(k): counts[k] = counts.get(k, 0) + 1
|
| 24 |
+
def em(m):
|
| 25 |
+
if m.group(1).lower() in FREE_WEBMAIL:
|
| 26 |
+
bump("free_webmail"); return "[REDACTED_EMAIL]"
|
| 27 |
+
return m.group(0)
|
| 28 |
+
text = EMAIL.sub(em, text)
|
| 29 |
+
for name, rx in NATIONAL_ID:
|
| 30 |
+
def r(m, name=name): bump(name); return "[REDACTED_ID]"
|
| 31 |
+
text = rx.sub(r, text)
|
| 32 |
+
def p(m): bump("personal_phone"); return "[REDACTED_PHONE]"
|
| 33 |
+
text = PERSONAL_PHONE.sub(p, text)
|
| 34 |
+
return text, counts
|
| 35 |
+
|
| 36 |
+
def sweep_rows(rows, fields=("text", "title", "full_name", "chamber_or_division")):
|
| 37 |
+
total = {}
|
| 38 |
+
for r in rows:
|
| 39 |
+
for f in fields:
|
| 40 |
+
if isinstance(r.get(f), str):
|
| 41 |
+
r[f], c = sweep(r[f])
|
| 42 |
+
for k, v in c.items(): total[k] = total.get(k, 0) + v
|
| 43 |
+
return rows, total
|
scrapers/jf/refetch_capture_hashes.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys, json, os; sys.path.insert(0,'/workspace/courts_jf')
|
| 2 |
+
from courts_jf import ccpace
|
| 3 |
+
D='/workspace/courts_jf/notes_verify/refix'; LOG=D+'/cc_pace_requests.jsonl'; OUT=D+'/capture_hashes.json'
|
| 4 |
+
pages=[(pk,p) for pk in ['uk_archive','canada_archive'] for p in json.load(open(f'/workspace/courts_jf/out/{pk}/provenance_pages.json'))]
|
| 5 |
+
inv=[json.loads(l) for l in open('/workspace/courts_jf/archive_lane/inv_canada_fctcf_ca.jsonl')]
|
| 6 |
+
rb=[x for x in inv if x['url'].endswith('/robots.txt')][0]
|
| 7 |
+
pages.append(('ca_robots',{'archive_url':f"https://data.commoncrawl.org/{rb['filename']}#offset={rb['offset']}&length={rb['length']}",'digest':rb['digest'],'original_url':rb['url'],'capture_timestamp':rb['timestamp']}))
|
| 8 |
+
res=json.load(open(OUT)) if os.path.exists(OUT) else {}
|
| 9 |
+
for pk,p in pages:
|
| 10 |
+
prev=res.get(p['archive_url'],{})
|
| 11 |
+
if prev.get('digest_match') or prev.get('attempts',0)>=2: continue
|
| 12 |
+
r=ccpace.warc_record(p['archive_url'],LOG)
|
| 13 |
+
if 'body' in r: open(f"{D}/bodies/{r['body_sha256']}",'wb').write(r['body'])
|
| 14 |
+
res[p['archive_url']]={k:v for k,v in r.items() if k!='body'}|{'digest_match':r.get('body_sha1_b32')==p.get('digest'),'pack':pk,'attempts':prev.get('attempts',1 if prev else 0)+1,'original_url':p['original_url'],'capture_timestamp':p['capture_timestamp']}
|
| 15 |
+
json.dump(res,open(OUT,'w'),indent=1)
|
| 16 |
+
import time; time.sleep(8)
|
| 17 |
+
if r['fetch_status'] in (403,429): print('stop on',r['fetch_status']); break
|
| 18 |
+
import collections; print(collections.Counter((v['pack'],v['fetch_status'],v['digest_match']) for v in res.values()))
|
scrapers/jf/run_archive_ca.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys, json, os, re, datetime as dt, hashlib, collections, urllib.parse
|
| 2 |
+
sys.path.insert(0, "/workspace/courts_jf"); sys.path.insert(0, "/workspace/courts_jf/scrapers")
|
| 3 |
+
import ca_archive as C
|
| 4 |
+
from courts_jf.archive import build
|
| 5 |
+
from courts_jf.archive.cc import CC
|
| 6 |
+
OUT = "out/canada_archive"; os.makedirs(OUT, exist_ok=True)
|
| 7 |
+
log = open(f"{OUT}/run.log", "a"); L = lambda m: (log.write(f"{dt.datetime.now().strftime('%Y-%m-%d %H:%M:%S')} PT {m}\n"), print(m, flush=True))
|
| 8 |
+
meta = json.load(open("archive_lane/raw/ca/meta.json"))
|
| 9 |
+
by = {m["original_url"].split("?")[0].lower().rstrip("/"): m for m in meta}
|
| 10 |
+
mem = by["https://www.fct-cf.ca/en/pages/about-the-court/members-of-the-court"]
|
| 11 |
+
bios = {k: (open(m["file"], "rb").read(), m) for k, m in by.items() if re.search(r"/(judges|associate-judges)/[^/]+$", k)}
|
| 12 |
+
J = C.judges(open(mem["file"], "rb").read(), mem, bios)
|
| 13 |
+
L(f"judges={len(J)} with_date={sum(1 for r in J if r['appointed_date'])} with_bio_capture={sum(1 for r in J if 'bio_capture_timestamp' in r['external_ids'])}")
|
| 14 |
+
F = []
|
| 15 |
+
for lang, k in (("en", "https://www.fct-cf.ca/en/online-access/forms"), ("fr", "https://www.fct-cf.ca/fr/acces-en-ligne/formules")):
|
| 16 |
+
m = by[k]; F += C.form_rows(open(m["file"], "rb").read(), m, lang)
|
| 17 |
+
# fetch the form files that Common Crawl captured
|
| 18 |
+
inv = [json.loads(l) for l in open("archive_lane/inv_canada_fctcf_ca.jsonl")]
|
| 19 |
+
def key(u): return urllib.parse.unquote(u.split("?")[0]).lower()
|
| 20 |
+
caps = collections.defaultdict(list)
|
| 21 |
+
for r in inv:
|
| 22 |
+
if r.get("status") == "200": caps[key(r["url"]).replace("://fct-cf.ca", "://www.fct-cf.ca")].append(r)
|
| 23 |
+
cc = CC("archive_lane/cc_requests.jsonl")
|
| 24 |
+
for f in F:
|
| 25 |
+
if not f["url"] or not f["file_format"]: continue
|
| 26 |
+
cs = sorted(caps.get(key(f["url"]), []), key=lambda r: r["timestamp"], reverse=True)
|
| 27 |
+
for c in cs[:2]:
|
| 28 |
+
res = cc.fetch_record(c)
|
| 29 |
+
if not res or res[0] != 200 or len(res[2]) < 200: continue
|
| 30 |
+
body = res[2]
|
| 31 |
+
f["file_sha256"] = hashlib.sha256(body).hexdigest()
|
| 32 |
+
f["text"] = (C.file_text(body, f["file_format"]) or "").strip() or None
|
| 33 |
+
f["external_ids"].update(file_archive_url=res[3], file_capture_timestamp=c["timestamp"])
|
| 34 |
+
del body; L(f"form file {f['form_id']} capture={c['timestamp']} text={len(f['text'] or '')}"); break
|
| 35 |
+
L(f"forms={len(F)} with_text={sum(1 for f in F if f['text'])}")
|
| 36 |
+
prov = [{k: m[k] for k in ("original_url", "capture_timestamp", "archive_url", "collection", "digest")} for m in meta]
|
| 37 |
+
skipped = {"www.fct-cf.gc.ca (live)": "TLS EOF; court site moved to www.fct-cf.ca (Wayback 301 capture 2026-08-14)",
|
| 38 |
+
"Common Crawl www.fct-cf.gc.ca": "301s only", "web.archive.org from box": "TLS EOF via proxy (only used through WebFetch for CDX/redirect checks)",
|
| 39 |
+
"form files": f"{sum(1 for f in F if f['url'] and not f['text'])} form files not captured by Common Crawl CC-MAIN-2026-12..43 (metadata + official URL only)"}
|
| 40 |
+
notes = ("Judges from www.fct-cf.ca members-of-the-court (CC capture 2026-09-05 12:06 UTC); appointment dates parsed from each judge's official "
|
| 41 |
+
"bio page capture (only the appointment date is kept, no biography text). Forms from the en/fr online-access forms tables (CC captures 2026-03-16 and 2026-08-09); "
|
| 42 |
+
"text + sha256 only where Common Crawl captured the file; binaries deleted after extraction. Form provenance in rows.jsonl.")
|
| 43 |
+
counts, pii = build.build(OUT, {"judges": J, "forms": F}, prov,
|
| 44 |
+
dict(license="other", pretty_name="Federal Court (Canada) judges & forms - archive recovery", languages="en, fr", country="Canada (fct-cf.ca, archived captures)"),
|
| 45 |
+
skipped=skipped, scraper_files=("/workspace/courts_jf/scrapers/ca_archive.py", "/workspace/courts_jf/run_archive_ca.py"), notes=notes)
|
| 46 |
+
L(f"built counts={counts} pii={pii}")
|
| 47 |
+
res = build.checks(OUT); L("checks " + json.dumps(res, default=str))
|
scrapers/jf/schema.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Judges/forms schemas, aligned to the Courts Directory Bot's published schema
|
| 2 |
+
(/workspace/world_laws_plan/courts/schema/courts_schema.py, SCHEMA_READY 2026-10-26).
|
| 3 |
+
Column names/types/order come from the Directory; we keep stricter local rules:
|
| 4 |
+
judges.court_id non-null, forms.court_id nullable, forbidden personal fields."""
|
| 5 |
+
import sys, pyarrow as pa
|
| 6 |
+
DIRECTORY_SCHEMA_DIR = "/workspace/world_laws_plan/courts/schema"
|
| 7 |
+
if DIRECTORY_SCHEMA_DIR not in sys.path: sys.path.insert(0, DIRECTORY_SCHEMA_DIR)
|
| 8 |
+
import courts_schema as cs # noqa: E402
|
| 9 |
+
|
| 10 |
+
JUDGE_ROLES, JUDGE_STATUS, FORM_CATEGORIES = cs.JUDGE_ROLES, cs.JUDGE_STATUS, cs.FORM_CATEGORIES
|
| 11 |
+
court_id, make_id, slugify, COURT_ID_RE = cs.court_id, cs.make_id, cs.slugify, cs.COURT_ID_RE
|
| 12 |
+
|
| 13 |
+
def _with_nullability(schema, nonnull):
|
| 14 |
+
return pa.schema([f.with_nullable(f.name not in nonnull) for f in schema])
|
| 15 |
+
JUDGES = _with_nullability(cs.JUDGES, {"judge_id", "court_id"})
|
| 16 |
+
FORMS = _with_nullability(cs.FORMS, {"form_id"})
|
| 17 |
+
SCHEMAS = {"judges": JUDGES, "forms": FORMS}
|
| 18 |
+
FORBIDDEN_JUDGE_FIELDS = {"home_address", "personal_phone", "personal_email", "dob", "date_of_birth", "national_id"}
|
| 19 |
+
|
| 20 |
+
def validate(table_name, rows):
|
| 21 |
+
errs = [f"row {i}: {m}" for i, m in cs.validate_rows(table_name, rows)]
|
| 22 |
+
for i, r in enumerate(rows):
|
| 23 |
+
if table_name == "judges":
|
| 24 |
+
if not r.get("court_id"): errs.append(f"row {i}: judges.court_id required")
|
| 25 |
+
if FORBIDDEN_JUDGE_FIELDS & set(r): errs.append(f"row {i}: forbidden personal field")
|
| 26 |
+
elif not r.get("court_id") and not r.get("jurisdiction_path"):
|
| 27 |
+
errs.append(f"row {i}: forms need court_id or jurisdiction_path")
|
| 28 |
+
return errs
|
scrapers/jf/writer.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Parquet writer (zstd), counts-only MANIFEST, SHA256SUMS, README card template."""
|
| 2 |
+
import hashlib, os, pyarrow as pa, pyarrow.parquet as pq
|
| 3 |
+
from .schema import SCHEMAS, validate
|
| 4 |
+
|
| 5 |
+
def write_parquet(out_dir, table_name, rows, rows_per_file=50000):
|
| 6 |
+
errs = validate(table_name, rows)
|
| 7 |
+
if errs: raise ValueError(errs[:5])
|
| 8 |
+
os.makedirs(os.path.join(out_dir, "data"), exist_ok=True)
|
| 9 |
+
paths = []
|
| 10 |
+
for n, i in enumerate(range(0, max(len(rows), 1), rows_per_file)):
|
| 11 |
+
t = pa.Table.from_pylist(rows[i:i+rows_per_file], schema=SCHEMAS[table_name])
|
| 12 |
+
p = os.path.join(out_dir, "data", f"{table_name}-{n:05d}.parquet")
|
| 13 |
+
pq.write_table(t, p, compression="zstd"); paths.append(p)
|
| 14 |
+
return paths
|
| 15 |
+
|
| 16 |
+
def sha256_file(p):
|
| 17 |
+
h = hashlib.sha256()
|
| 18 |
+
with open(p, "rb") as f:
|
| 19 |
+
for b in iter(lambda: f.read(1 << 20), b""): h.update(b)
|
| 20 |
+
return h.hexdigest()
|
| 21 |
+
|
| 22 |
+
def write_sha256sums(out_dir):
|
| 23 |
+
lines = []
|
| 24 |
+
for root, dirs, files in os.walk(out_dir):
|
| 25 |
+
if os.path.relpath(root, out_dir) == ".": dirs[:] = [d for d in dirs if d != "work"] # scratch, not published
|
| 26 |
+
for f in sorted(files):
|
| 27 |
+
p = os.path.join(root, f); rel = os.path.relpath(p, out_dir)
|
| 28 |
+
if rel != "SHA256SUMS": lines.append(f"{sha256_file(p)} {rel}")
|
| 29 |
+
open(os.path.join(out_dir, "SHA256SUMS"), "w").write("\n".join(sorted(lines, key=lambda l: l[66:])) + "\n")
|
| 30 |
+
return len(lines)
|
| 31 |
+
|
| 32 |
+
def write_manifest(out_dir, counts, pii_counts=None, skipped_hosts=None):
|
| 33 |
+
os.makedirs(os.path.join(out_dir, "manifests"), exist_ok=True)
|
| 34 |
+
L = ["# MANIFEST (counts only)", "", "| table | rows |", "|---|---|"]
|
| 35 |
+
L += [f"| {k} | {v} |" for k, v in sorted(counts.items())]
|
| 36 |
+
L += ["", "## PII redactions", ""] + ([f"- {k}: {v}" for k, v in sorted((pii_counts or {}).items())] or ["- none"])
|
| 37 |
+
L += ["", "## Skipped hosts", ""] + ([f"- {h}: {s}" for h, s in sorted((skipped_hosts or {}).items())] or ["- none"])
|
| 38 |
+
open(os.path.join(out_dir, "manifests", "MANIFEST.md"), "w").write("\n".join(L) + "\n")
|
| 39 |
+
|
| 40 |
+
README_TEMPLATE = """---
|
| 41 |
+
license: {license}
|
| 42 |
+
pretty_name: {pretty_name}
|
| 43 |
+
language: [{languages}]
|
| 44 |
+
configs:
|
| 45 |
+
{configs}
|
| 46 |
+
---
|
| 47 |
+
# {pretty_name}
|
| 48 |
+
|
| 49 |
+
Judges (official name, title, court assignment, appointment dates, official bio URL only) and
|
| 50 |
+
court forms (metadata + extracted text + sha256 of the official file; no binaries) for {country}.
|
| 51 |
+
Schema: COURTS_PLAN.md section 2. court_id keys to the Courts Directory crosswalk (forms.court_id nullable).
|
| 52 |
+
See manifests/MANIFEST.md for counts and SHA256SUMS for file hashes.
|
| 53 |
+
"""
|
| 54 |
+
def write_readme(out_dir, **kw):
|
| 55 |
+
data = os.path.join(out_dir, "data"); present = sorted({f.split("-")[0] for f in os.listdir(data) if f.endswith(".parquet")}) if os.path.isdir(data) else []
|
| 56 |
+
kw.setdefault("configs", "\n".join(f"- config_name: {t}\n data_files: data/{t}-*.parquet" for t in present))
|
| 57 |
+
open(os.path.join(out_dir, "README.md"), "w").write(README_TEMPLATE.format(**kw))
|