{"version":"1.0","type":"rich","title":"streaming-crawler.js that reads articles from first X pages","description":"This example streams the first five pages of Hacker News articles and extracts each story’s title and link. It uses the `request` library to fetch each page, then pipes the HTML through `html-tokenize` and `html-select` to parse elements matching the `.title a` selector. As text and attribute data flow through, the code logs each article’s href and title to the console, skipping links marked with `rel=\"nofollow\"`. The process chains pages sequentially, incrementing the page number until reaching the stop condition, and finally reports the total number of pages crawled.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-91f1b40640d3fb7732da?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}