Add extract command to extract HAR response content to filesystem #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I know this is just unprompted feature and this is total AI slop but this project was well written enough that it was super easy to whip out what I needed. My goal was to cheaply scrape some content on a site that doesn't offer an API nor takes kindly to bots/scraping and requires logging in (not trying to violate TOS). I figured I could just kind of manually click through the site and let devtools collect all the requests, save the har and process it later. I guess this is slightly grey area? my intentions are pure... I figured there had to be a har library and I found this but didn't quite do what I wanted (
hargo dumpserves a different purpose upon closer inspection). So I cloned this and asked my buddy Claude to help and was able to one-shot this addition and worked fine for what I needed... Sorry for the unprompted PR - I mean no offense if hate the feature, the means by which it was authored or the code itself. Thought I'd submit this in case you or someone else deemed useful.Thank you for your work!