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

Exclude screenshot_bytes and/or headless_body from JSON output #1330

Closed
secinto opened this issue Aug 24, 2023 · 0 comments · Fixed by #1331 or #1360
Closed

Exclude screenshot_bytes and/or headless_body from JSON output #1330

secinto opened this issue Aug 24, 2023 · 0 comments · Fixed by #1331 or #1360
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Milestone

Comments

@secinto
Copy link
Contributor

secinto commented Aug 24, 2023

It would be great to have a option to exclude the screenshot_bytes as well as headless_body from JSON output since it significantly increases file size. Especially if multiple URLs are passed as input.

httpx -l urls.txt -ss -json -o output.json -esb -ehb

Outputs the same as before except the key screenshot_bytes and/or headless_body are not present.

@secinto secinto added the Type: Enhancement Most issues will probably ask for additions or changes. label Aug 24, 2023
secinto pushed a commit to secinto/httpx that referenced this issue Aug 24, 2023
@secinto secinto changed the title Exclude screenshot_bytes from JSON output Exclude screenshot_bytes and/or headless_body from JSON output Aug 24, 2023
@ehsandeep ehsandeep linked a pull request Aug 24, 2023 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Sep 11, 2023
@ehsandeep ehsandeep added this to the v1.3.5 milestone Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
2 participants