Skip to content

Extract data through JSON instead of selectors #8

@dougg0k

Description

@dougg0k

Hey,

Is there any reason why the extension were not built to extract data from the JSON responses and convert into the other formats, instead of from the page DOM?

You can easily check, open a chat in each platform, while having the network tab open, in the same tab, go to the configurations and Save All as HAR. You can also, before doing this, only show the XHR requests.

Image

That file should contain all the JSON responses. Then analyze the one relevant with the content, parse it, and then convert to other formats.

This would probably resolve any future issue on the platform, or at least make it easy to maintain. Though since you already have the implementation, it could be done as alternative way.

Extension would probably just need to intercept the right JSON response.


I confirmed that all 3, chatgpt, claude and gemini, have a json response with the data from the chat in it, some are in markdown even.

This even fixes this issue #7 I tested, it contain the canvas data and the remaining of the answer.


With JSON intercept, while in a project folder, you could get the chats ids naming, build them, access each page automatically and extract the whole project using the extension.

You can even better organize files with their proper names, and the project name also.

I noticed many information are missed with Thinking mode on extraction from your current extension.


I am suggesting all of this on this, because so far, your extension seems to be the better one, I checked most of the others.

It just need better maintenance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request / code cleanup

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions