feat(summary): send complete articles within user budget (#39)

This commit is contained in:
2026-11-24 17:39:26 +01:00
parent d0c7cb7cae
commit 79953ce49f
73 changed files with 1688 additions and 288 deletions

View File

@ -1,5 +1,5 @@
// Package cnbcbusiness reads only CNBC's configured Business RSS feed.
// Article URLs are returned as metadata and are never fetched.
// Scrape returns metadata only; Enrich loads the bounded article pool separately.
package cnbcbusiness
import (
@ -130,7 +130,7 @@ func (c *CNBCBusiness) Scrape(ctx context.Context, _ []string) (articles []scrap
break
}
}
articles = append(articles, scraper.Article{Title: title, URL: canonical, Content: plainText(item.Description), PublishedAt: published})
articles = append(articles, scraper.Article{ContentState: scraper.ContentIncomplete, Title: title, URL: canonical, Content: plainText(item.Description), PublishedAt: published})
}
return articles, nil
}