har2warc icon indicating copy to clipboard operation
har2warc copied to clipboard

har2warc

Open luda171 opened this issue 5 years ago • 0 comments

Hello, I am having problem with utility, see error below: har2warc http:mekosztaly.oszk.humia.har 1.warc Traceback (most recent call last): File "/anaconda2/bin/har2warc", line 11, in sys.exit(main()) File "/anaconda2/lib/python2.7/site-packages/har2warc/har2warc.py", line 254, in main rec_title=rec_title) File "/anaconda2/lib/python2.7/site-packages/har2warc/har2warc.py", line 230, in har2warc HarParser(har, writer, gzip=gzip).parse(filename, rec_title) File "/anaconda2/lib/python2.7/site-packages/har2warc/har2warc.py", line 56, in parse self.parse_entry(entry) File "/anaconda2/lib/python2.7/site-packages/har2warc/har2warc.py", line 73, in parse_entry request = self.parse_request(entry['request']) File "/anaconda2/lib/python2.7/site-packages/har2warc/har2warc.py", line 216, in parse_request payload.write(request['postData']['text'].encode('utf-8')) KeyError: 'text'

It is also not viewed by Webrecorder

image

It is loading to chrome and other viewers successfully, so format is ok. What can cause this problem? Thanks, Lyudmila

luda171 avatar Jul 22 '19 17:07 luda171