HACKER Q&A
📣 labrador

Best way to save text from dynamically generated pages that won't curl?


Anthropic doesn't provide a mechanism for saving Claude chats. Curl doesn't work so I have to resort to opening the chat and selecting text. I asked Claude about it. the answer was Anthropic may consider it's output intellectual property, which may be a hallucination. I'm looking for an extension or other solution that makes it easier. Thanks.


  👤 ai_what Accepted Answer ✓
You could write a userscript for this, or go a step further and write a small browser extension.

If you use Joplin, there's already a web to markdown plugin for browsers.


👤 cpburns2009
I use Selenium's WebDriver for tasks where I need to programmatically interact with webpages that require JavaScript. It runs a headless Chrome or Firefox, with a virtual screen. It has bindings for various languages with Python being my preferred one.