Skip to content

Commit 442c8e0

Browse files
committed
Replace MD5 with SHA-256 for manifest content hashing
1 parent 7d59bea commit 442c8e0

12 files changed

Lines changed: 27 additions & 27 deletions

File tree

.agents/skills/scrapingbee-cli/reference/batch/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scrapingbee export --output-file results.csv --input-dir products/ --format csv
2727

2828
**csv output:** Flattens JSON files into tabular rows. For API responses that contain a list (e.g. `organic_results`, `products`, `results`), each list item becomes a row. For single-object responses (e.g. a product page), the object itself is one row. Use `--flatten` to expand nested dicts into dot-notation columns. Use `--columns` to select specific fields and drop incomplete rows. `_url` column is added when `manifest.json` is present.
2929

30-
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_md5": "<md5>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
30+
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_sha256": "<sha256>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
3131

3232
## Resume an interrupted batch
3333

.agents/skills/scrapingbee-cli/reference/batch/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Every batch run writes a `manifest.json` to the output folder:
4242
"http_status": 200,
4343
"credits_used": 5,
4444
"latency_ms": 1234,
45-
"content_md5": "d41d8cd98f00b204e9800998ecf8427e"
45+
"content_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4646
},
4747
"https://example2.com": {
4848
"file": "2.html",
4949
"fetched_at": "2025-01-15T10:30:02",
5050
"http_status": 200,
5151
"credits_used": 5,
5252
"latency_ms": 876,
53-
"content_md5": "7215ee9c7d9dc229d2921a40e899ec5f"
53+
"content_sha256": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
5454
}
5555
}
5656
```
@@ -62,6 +62,6 @@ Every batch run writes a `manifest.json` to the output folder:
6262
| `http_status` | HTTP status code returned by the target site |
6363
| `credits_used` | Credits consumed (from `Spb-Cost` response header) |
6464
| `latency_ms` | Round-trip latency in milliseconds |
65-
| `content_md5` | MD5 hash of the raw response body — use to detect duplicate content or page changes across runs |
65+
| `content_sha256` | SHA-256 hash of the raw response body — use to detect duplicate content or page changes across runs |
6666

6767
The manifest is used by `--resume` to skip already-completed items.

.github/skills/scrapingbee-cli/reference/batch/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scrapingbee export --output-file results.csv --input-dir products/ --format csv
2727

2828
**csv output:** Flattens JSON files into tabular rows. For API responses that contain a list (e.g. `organic_results`, `products`, `results`), each list item becomes a row. For single-object responses (e.g. a product page), the object itself is one row. Use `--flatten` to expand nested dicts into dot-notation columns. Use `--columns` to select specific fields and drop incomplete rows. `_url` column is added when `manifest.json` is present.
2929

30-
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_md5": "<md5>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
30+
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_sha256": "<sha256>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
3131

3232
## Resume an interrupted batch
3333

.github/skills/scrapingbee-cli/reference/batch/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Every batch run writes a `manifest.json` to the output folder:
4242
"http_status": 200,
4343
"credits_used": 5,
4444
"latency_ms": 1234,
45-
"content_md5": "d41d8cd98f00b204e9800998ecf8427e"
45+
"content_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4646
},
4747
"https://example2.com": {
4848
"file": "2.html",
4949
"fetched_at": "2025-01-15T10:30:02",
5050
"http_status": 200,
5151
"credits_used": 5,
5252
"latency_ms": 876,
53-
"content_md5": "7215ee9c7d9dc229d2921a40e899ec5f"
53+
"content_sha256": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
5454
}
5555
}
5656
```
@@ -62,6 +62,6 @@ Every batch run writes a `manifest.json` to the output folder:
6262
| `http_status` | HTTP status code returned by the target site |
6363
| `credits_used` | Credits consumed (from `Spb-Cost` response header) |
6464
| `latency_ms` | Round-trip latency in milliseconds |
65-
| `content_md5` | MD5 hash of the raw response body — use to detect duplicate content or page changes across runs |
65+
| `content_sha256` | SHA-256 hash of the raw response body — use to detect duplicate content or page changes across runs |
6666

6767
The manifest is used by `--resume` to skip already-completed items.

.kiro/skills/scrapingbee-cli/reference/batch/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scrapingbee export --output-file results.csv --input-dir products/ --format csv
2727

2828
**csv output:** Flattens JSON files into tabular rows. For API responses that contain a list (e.g. `organic_results`, `products`, `results`), each list item becomes a row. For single-object responses (e.g. a product page), the object itself is one row. Use `--flatten` to expand nested dicts into dot-notation columns. Use `--columns` to select specific fields and drop incomplete rows. `_url` column is added when `manifest.json` is present.
2929

30-
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_md5": "<md5>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
30+
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_sha256": "<sha256>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
3131

3232
## Resume an interrupted batch
3333

.kiro/skills/scrapingbee-cli/reference/batch/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Every batch run writes a `manifest.json` to the output folder:
4242
"http_status": 200,
4343
"credits_used": 5,
4444
"latency_ms": 1234,
45-
"content_md5": "d41d8cd98f00b204e9800998ecf8427e"
45+
"content_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4646
},
4747
"https://example2.com": {
4848
"file": "2.html",
4949
"fetched_at": "2025-01-15T10:30:02",
5050
"http_status": 200,
5151
"credits_used": 5,
5252
"latency_ms": 876,
53-
"content_md5": "7215ee9c7d9dc229d2921a40e899ec5f"
53+
"content_sha256": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
5454
}
5555
}
5656
```
@@ -62,6 +62,6 @@ Every batch run writes a `manifest.json` to the output folder:
6262
| `http_status` | HTTP status code returned by the target site |
6363
| `credits_used` | Credits consumed (from `Spb-Cost` response header) |
6464
| `latency_ms` | Round-trip latency in milliseconds |
65-
| `content_md5` | MD5 hash of the raw response body — use to detect duplicate content or page changes across runs |
65+
| `content_sha256` | SHA-256 hash of the raw response body — use to detect duplicate content or page changes across runs |
6666

6767
The manifest is used by `--resume` to skip already-completed items.

.opencode/skills/scrapingbee-cli/reference/batch/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scrapingbee export --output-file results.csv --input-dir products/ --format csv
2727

2828
**csv output:** Flattens JSON files into tabular rows. For API responses that contain a list (e.g. `organic_results`, `products`, `results`), each list item becomes a row. For single-object responses (e.g. a product page), the object itself is one row. Use `--flatten` to expand nested dicts into dot-notation columns. Use `--columns` to select specific fields and drop incomplete rows. `_url` column is added when `manifest.json` is present.
2929

30-
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_md5": "<md5>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
30+
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_sha256": "<sha256>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
3131

3232
## Resume an interrupted batch
3333

.opencode/skills/scrapingbee-cli/reference/batch/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Every batch run writes a `manifest.json` to the output folder:
4242
"http_status": 200,
4343
"credits_used": 5,
4444
"latency_ms": 1234,
45-
"content_md5": "d41d8cd98f00b204e9800998ecf8427e"
45+
"content_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4646
},
4747
"https://example2.com": {
4848
"file": "2.html",
4949
"fetched_at": "2025-01-15T10:30:02",
5050
"http_status": 200,
5151
"credits_used": 5,
5252
"latency_ms": 876,
53-
"content_md5": "7215ee9c7d9dc229d2921a40e899ec5f"
53+
"content_sha256": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
5454
}
5555
}
5656
```
@@ -62,6 +62,6 @@ Every batch run writes a `manifest.json` to the output folder:
6262
| `http_status` | HTTP status code returned by the target site |
6363
| `credits_used` | Credits consumed (from `Spb-Cost` response header) |
6464
| `latency_ms` | Round-trip latency in milliseconds |
65-
| `content_md5` | MD5 hash of the raw response body — use to detect duplicate content or page changes across runs |
65+
| `content_sha256` | SHA-256 hash of the raw response body — use to detect duplicate content or page changes across runs |
6666

6767
The manifest is used by `--resume` to skip already-completed items.

plugins/scrapingbee-cli/skills/scrapingbee-cli/reference/batch/export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scrapingbee export --output-file results.csv --input-dir products/ --format csv
2727

2828
**csv output:** Flattens JSON files into tabular rows. For API responses that contain a list (e.g. `organic_results`, `products`, `results`), each list item becomes a row. For single-object responses (e.g. a product page), the object itself is one row. Use `--flatten` to expand nested dicts into dot-notation columns. Use `--columns` to select specific fields and drop incomplete rows. `_url` column is added when `manifest.json` is present.
2929

30-
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_md5": "<md5>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
30+
**manifest.json (batch and crawl):** Both `scrape` batch runs and `crawl` write `manifest.json` to the output directory. Format: `{"<input>": {"file": "N.ext", "fetched_at": "<ISO-8601 UTC>", "http_status": 200, "credits_used": 5, "latency_ms": 1234, "content_sha256": "<sha256>"}}`. Useful for audit trails and monitoring workflows. The `export` command reads both old (plain string values) and new (dict values) manifest formats.
3131

3232
## Resume an interrupted batch
3333

plugins/scrapingbee-cli/skills/scrapingbee-cli/reference/batch/output.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Every batch run writes a `manifest.json` to the output folder:
4242
"http_status": 200,
4343
"credits_used": 5,
4444
"latency_ms": 1234,
45-
"content_md5": "d41d8cd98f00b204e9800998ecf8427e"
45+
"content_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4646
},
4747
"https://example2.com": {
4848
"file": "2.html",
4949
"fetched_at": "2025-01-15T10:30:02",
5050
"http_status": 200,
5151
"credits_used": 5,
5252
"latency_ms": 876,
53-
"content_md5": "7215ee9c7d9dc229d2921a40e899ec5f"
53+
"content_sha256": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
5454
}
5555
}
5656
```
@@ -62,6 +62,6 @@ Every batch run writes a `manifest.json` to the output folder:
6262
| `http_status` | HTTP status code returned by the target site |
6363
| `credits_used` | Credits consumed (from `Spb-Cost` response header) |
6464
| `latency_ms` | Round-trip latency in milliseconds |
65-
| `content_md5` | MD5 hash of the raw response body — use to detect duplicate content or page changes across runs |
65+
| `content_sha256` | SHA-256 hash of the raw response body — use to detect duplicate content or page changes across runs |
6666

6767
The manifest is used by `--resume` to skip already-completed items.

0 commit comments

Comments
 (0)