Parcourir la source

Bump read size

master
JustAnotherArchivist il y a 2 ans
Parent
révision
06d60a798c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny Voir le fichier

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


Chargement…
Annuler
Enregistrer