Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

har2warc #2

Open
luda171 opened this issue Jul 22, 2019 · 0 comments
Open

har2warc #2

luda171 opened this issue Jul 22, 2019 · 0 comments

Comments

@luda171
Copy link

luda171 commented Jul 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant