-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
f = warc.open("example.warc.gz")
for record in f:
print record['WARC-Target-URI'], record['Content-Length']Expected Behaviour
Prints records with URI + Content Length
Observed Behaviour:
Traceback (most recent call last):
File "", line 1, in
File "/home/kiska/.local/lib/python2.7/site-packages/warc/warc.py", line 390, in iter
record = self.read_record()
File "/home/kiska/.local/lib/python2.7/site-packages/warc/warc.py", line 373, in read_record
header = self.read_header(fileobj)
File "/home/kiska/.local/lib/python2.7/site-packages/warc/warc.py", line 334, in read_header
raise IOError("Unsupported WARC version: %s" % version)
IOError: Unsupported WARC version: 1.1
Metadata
Metadata
Assignees
Labels
No labels