Skip to content

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

@aaaguirrep

Description

@aaaguirrep

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions