Skip to content

v0.2.0

@rubenszinho rubenszinho tagged this 17 May 22:48
collect_general_news and collect_by_sources accept __event_emitter__ but
without one, callers see only a single per-query log line — a multi-hour
collection looks stuck while the library iterates windows silently.

Expose two reusable async emitters from agents4gov_apps.gnews_collector:

  - console_emitter(logger=None, level=INFO, prefix="") — forwards each
    event's description to a stdlib logger.
  - stdout_emitter(prefix="") — same for plain print.

Use console_emitter in the gender-violence pipeline to get per-window
progress lines. README updated with a usage example.

Minor bump to 0.2.0 (new public API surface, no breaking change).
Assets 2
Loading