Reworked snapshot template output
All checks were successful
Build Docker Image / build (push) Successful in 36s
All checks were successful
Build Docker Image / build (push) Successful in 36s
This commit is contained in:
@@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user