osint-dashboard/news/scraper
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
..
newsScraper fix(news): drop future-dated items at ingest, hide them in /api/news 2026-11-13 21:41:44 -05:00
.dockerignore Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
.gitignore Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
Dockerfile Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
requirements.txt Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
run_news_scraper.py feat: continuous news scrape + 15-min analyst, expand urls.txt 2026-08-28 20:53:32 -04:00
scrapy.cfg Add news pipeline: hourly scraper + Gemini summarizer in compose 2026-08-24 17:28:46 -04:00
urls.txt feat: continuous news scrape + 15-min analyst, expand urls.txt 2026-08-28 20:53:32 -04:00