Reworked snapshot template output
All checks were successful
Build Docker Image / build (push) Successful in 36s

This commit is contained in:
Tudor Sitaru
2026-01-05 13:32:49 +00:00
parent 996b9d1072
commit 8e93e3d071

View File

@@ -190,7 +190,7 @@ class SnapshotDownloader:
async with session.get(url, headers=headers, timeout=30) as response: async with session.get(url, headers=headers, timeout=30) as response:
response.raise_for_status() response.raise_for_status()
data = await response.json() data = await response.json()
print(data.get("posts", []))
# Log API response summary # Log API response summary
posts_count = len(data.get("posts", [])) posts_count = len(data.get("posts", []))
has_cursor = bool(data.get("cursor")) has_cursor = bool(data.get("cursor"))