Explorar el Código

Bump read size

master
JustAnotherArchivist hace 2 años
padre
commit
06d60a798c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny Ver fichero

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


Cargando…
Cancelar
Guardar