Skip to content

Commit 3a39ad8

Browse files
committed
feat: enable brotli request compression by default via apify-client[brotli]
1 parent c625ed6 commit 3a39ad8

2 files changed

Lines changed: 62 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ keywords = [
3535
"scraping",
3636
]
3737
dependencies = [
38-
"apify-client>=3.0.0,<4.0.0",
38+
# TODO: Switch to `apify-client[brotli]>=3.1.0,<4.0.0` once apify-client v3.1 is released.
39+
# Until then, use the latest beta that already ships the `brotli` extra so brotli request body
40+
# compression is enabled by default (falling back to gzip when brotli isn't installed).
41+
"apify-client[brotli]>=3.0.7b1,<4.0.0",
3942
"crawlee>=1.8.0,<2.0.0",
4043
"cachetools>=5.5.0",
4144
"cryptography>=42.0.0",

uv.lock

Lines changed: 58 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)