summaryrefslogtreecommitdiff
path: root/crocoite/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite/cli.py')
-rw-r--r--crocoite/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/cli.py b/crocoite/cli.py
index e7ed3db..52d3b27 100644
--- a/crocoite/cli.py
+++ b/crocoite/cli.py
@@ -75,7 +75,7 @@ def main ():
serializer = HTMLSerializer ()
httpHeaders = StatusAndHeaders('200 OK', {}, protocol='HTTP/1.1')
record = writer.create_warc_record (doc['documentURL'], 'response',
- payload=BytesIO (serializer.render (stream, 'utf8')),
+ payload=BytesIO (serializer.render (stream, 'utf-8')),
http_headers=httpHeaders,
warc_headers_dict={'X-DOM-Snapshot': str (True),
'X-Chrome-Viewport': viewport})