소스 검색

Log number of results on a page

master
JustAnotherArchivist 2 년 전
부모
커밋
0f7a2b32a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      ia-cdx-search

+ 1
- 1
ia-cdx-search 파일 보기

@@ -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




불러오는 중...
취소
저장