chore(deps): aiohttp>=3.13.5, add zstandard, zstd Accept-Encoding

This commit is contained in:
nox-project
2026-04-13 10:30:23 +02:00
parent 245d0f1714
commit c7dbc1baac
4 changed files with 15 additions and 4 deletions
+9
View File
@@ -2,6 +2,15 @@
All notable changes to NOX are documented here. All notable changes to NOX are documented here.
## [1.0.1] — 2026-04-13
### Dependencies
- **Updated:** `aiohttp` minimum pin raised to `>=3.13.5` (connection-pool stability fixes under high concurrency)
- **Added:** `zstandard>=0.23.0` — enables native zstd decompression in aiohttp for Cloudflare/Fastly CDN responses
### Engine
- **Updated:** `Accept-Encoding` header now includes `zstd` (`gzip, deflate, br, zstd`) to match Chrome 124+ behaviour
## [1.0.1] — 2026-04-11 ## [1.0.1] — 2026-04-11
### Sources ### Sources
+1 -1
View File
@@ -1598,7 +1598,7 @@ def _random_headers(extra: Optional[Dict] = None) -> Dict[str, str]:
"User-Agent": ua, "User-Agent": ua,
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language": random.choice(_ACCEPT_LANG_POOL), "Accept-Language": random.choice(_ACCEPT_LANG_POOL),
"Accept-Encoding": "gzip, deflate, br", "Accept-Encoding": "gzip, deflate, br, zstd",
"DNT": "1", "DNT": "1",
"Connection": "keep-alive", "Connection": "keep-alive",
"Upgrade-Insecure-Requests": "1", "Upgrade-Insecure-Requests": "1",
+3 -2
View File
@@ -4,18 +4,19 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "nox-cli" name = "nox-cli"
version = "1.0.1" version = "1.0.2"
description = "Advanced Asynchronous Cyber Threat Intelligence Framework" description = "Advanced Asynchronous Cyber Threat Intelligence Framework"
readme = { file = "README.md", content-type = "text/markdown" } readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "Apache-2.0" } license = { text = "Apache-2.0" }
authors = [{ name = "nox-project" }] authors = [{ name = "nox-project" }]
requires-python = ">=3.8" requires-python = ">=3.8"
dependencies = [ dependencies = [
"aiohttp>=3.9.0", "aiohttp>=3.13.5",
"aiohttp-socks>=0.8.4", "aiohttp-socks>=0.8.4",
"aiosqlite>=0.20.0", "aiosqlite>=0.20.0",
"httpx[http2]>=0.27.0", "httpx[http2]>=0.27.0",
"brotli>=1.1.0", "brotli>=1.1.0",
"zstandard>=0.23.0",
"requests>=2.31.0", "requests>=2.31.0",
"certifi>=2024.2.2", "certifi>=2024.2.2",
"cloudscraper>=1.2.71", "cloudscraper>=1.2.71",
+2 -1
View File
@@ -2,11 +2,12 @@
# Python 3.8+ | pip install -r requirements.txt # Python 3.8+ | pip install -r requirements.txt
# ── Core (Async) ─────────────────────────────────────────────────────── # ── Core (Async) ───────────────────────────────────────────────────────
aiohttp>=3.9.0 aiohttp>=3.13.5
aiohttp-socks>=0.8.4 # SOCKS4/5 proxy support for aiohttp aiohttp-socks>=0.8.4 # SOCKS4/5 proxy support for aiohttp
aiosqlite>=0.20.0 # async SQLite (forensic persistence DB) aiosqlite>=0.20.0 # async SQLite (forensic persistence DB)
httpx[http2]>=0.27.0 # Guardian Engine: dynamic proxy fetch + HTTP/2 httpx[http2]>=0.27.0 # Guardian Engine: dynamic proxy fetch + HTTP/2
brotli>=1.1.0 # brotli decompression for aiohttp br responses brotli>=1.1.0 # brotli decompression for aiohttp br responses
zstandard>=0.23.0 # zstd decompression for aiohttp zstd responses (Cloudflare/Fastly CDNs)
# ── Intelligence & Scraping ──────────────────────────────────────────── # ── Intelligence & Scraping ────────────────────────────────────────────
requests>=2.31.0 requests>=2.31.0