mark_rss_source_dead

Documentation for eth_defi.feed.sources.mark_rss_source_dead function.

mark_rss_source_dead(yaml_path, dead_at)

Append rss-dead-at to a feeder YAML without rewriting it.

Used when an RSS feed is valid but has not published any new posts for a year or more.

Parameters
  • yaml_path (pathlib.Path) – Path to the feeder YAML file.

  • dead_at (str) – ISO date string, e.g. 2026-04-06.

Returns

True when the file was updated, False when already present.

Return type

bool