Ver código fonte

Bump read size

master
JustAnotherArchivist 2 anos atrás
pai
commit
06d60a798c
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny Ver arquivo

@@ -142,7 +142,7 @@ def iter_warc(f):
# Read WARC header
while b'\r\n\r\n' not in buf:
try:
buf = buf + fp.read(4096)
buf = buf + fp.read(16777216)
except EOFError:
break
if not buf:


Carregando…
Cancelar
Salvar