|
|
@@ -54,7 +54,7 @@ async def wait_first_and_print(tasks): |
|
|
|
assert all(len(v) == len(fields) for v in o[1:]), 'got unexpected response format' |
|
|
|
for row in o[1:]: |
|
|
|
print(json.dumps(dict(zip(fields, row)))) |
|
|
|
print(f'Completed processing page {task._ia_cdx_page}', file = sys.stderr) |
|
|
|
print(f'Completed processing page {task._ia_cdx_page} ({len(o) - 1} results)', file = sys.stderr) |
|
|
|
return task._ia_cdx_page, connection |
|
|
|
|
|
|
|
|
|
|
|