osint-dashboard/news/scraper/newsScraper
Repository files (latest commit first)
Filename Latest commit message Latest commit date
backend c42d375d6c fix(news): drop future-dated items at ingest, hide them in /api/news
wiseye.org public-affairs event listings carry pubDate 3-6 days ahead; with
ORDER BY timestamp DESC they pinned the top of the feed for a week and made
the news list look frozen.

- PostgresPipeline drops items whose parsed publish date is >2h in the
  future, counts future_dated_dropped (stats + one INFO line per run).
  Unparseable dates keep the old behaviour (kept, timestamped now()).
- GET /api/news filters timestamp > now() in the query while still returning
  timestamp IS NULL rows; limit/offset/domain/since unchanged.
- docs/news.md documents the guard.
- tests: pipeline drop/keep unit tests, API future-row exclusion + limit.
2026-11-13 21:41:44 -05:00
..
spiders fix: pipeline reliability — WS, summarizer, ingest, health 2026-08-28 21:49:05 -04:00
__init__.py Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
feed_util.py fix: pipeline reliability — WS, summarizer, ingest, health 2026-08-28 21:49:05 -04:00
items.py Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
middlewares.py Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
pipelines.py fix(news): drop future-dated items at ingest, hide them in /api/news 2026-11-13 21:41:44 -05:00
settings.py Fix news scraper feed discovery + summarizer startup race 2026-08-24 17:42:06 -04:00