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

--log-json option generates a empty object in array report #289

Closed
aaaguirrep opened this issue Jan 16, 2020 · 1 comment
Closed

--log-json option generates a empty object in array report #289

aaaguirrep opened this issue Jan 16, 2020 · 1 comment

Comments

@aaaguirrep
Copy link

Hi, I am using --log-json option and the file shows an empty object in array report.

Usage
Version: 0.5.1

#whatweb https://example.com --log-json=report.json
#cat report.json
[
{"target":"https://example.com","http_status":200,"request_config":{"headers":{"User-Agent":"WhatWeb/0.5.1"}},"plugins":{"HttpOnly":{"string":["__cfduid"]},"Country":{"string":["UNITED STATES"],"module":["US"]},"Cookies":{"string":["__cfduid"]},"Title":{"string":["Example website"]},"HTML5":{},"IP":{"string":["x.x.x.x."]},"HTTPServer":{"string":["cloudflare"]},"CloudFlare":{},"UncommonHeaders":{"string":["x-served-by,x-cache-hits,x-timer,cf-cache-status,expect-ct,cf-ray"]},"Strict-Transport-Security":{"string":["max-age=31556926"]},"Script":{"string":["acdcde2-text/javascript"]}}},
{}
]

Regards,
Arsenio

@urbanadventurer
Copy link
Owner

I've just fixed this 😄

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

2 participants