Code recipe · Intermediate · 15 min
Fetch a page and extract readable text
Get the main text of an article for summarisation without the navigation and ads.
- Claude
- ChatGPT
- Any assistant
- research
- code
- javascript
Inside this code recipe
- Summarising raw HTML wastes tokens on menus and cookie banners; you want the article body with title and date.
- Language
- JavaScript
The full code recipe opens with a membership that covers AI Research.
Sign in if you already subscribe.
Sign in
