4 ms·
if i want to just paste an url, of full page of HN, and extract all comments in a json format. would that tool work?
by burgerquizz 2y ago
if i want to just paste an url, of full page of HN, and extract all comments in a json format. would that tool work?
- deleted 2y ago[deleted]
- sigh_again 2y ago[...document.querySelectorAll(".commtext").values().map((it) => it.innerText)] Works in every single web browser. No calls to OpenAI needed, and I'm rusty on Javascript. Make it a bookmarklet, and you don't even need to run a dedicated webpage on your machine for that.
- corytheboyd 2y agoYou already know the answer to that. This is just a very helpful interface for arbitrary data conversions, that I thought passers by might like to know about. It’s not an LLM, but it does what some of the examples in the article does, and more.