Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
JustAnotherArchivist
/
little-things
Segui
2
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Fix infinite loop at end of WARC
master
JustAnotherArchivist
5 anni fa
parent
a700e8e2fe
commit
641bc7a207
1 ha cambiato i file
con
2 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+2
-0
warc-tiny
+ 2
- 0
warc-tiny
Vedi File
@@ -80,6 +80,8 @@ def iter_warc(f):
buf = buf + fp.read(4096)
except EOFError:
break
if not buf:
break
if not buf:
break
warcHeaderBuf, buf = buf.split(b'\r\n\r\n', 1)
Scrivi
Anteprima
Caricamento…
Annulla
Salva