mark_linkedin_source_disabled

Documentation for eth_defi.feed.sources.mark_linkedin_source_disabled function.

mark_linkedin_source_disabled(yaml_path, disabled_at)

Append linkedin-rss-hub-disabled-at to a feeder YAML without rewriting it.

Preserves existing file content including comments. The new field is appended as a trailing line so that YAML structure and indentation are not disturbed.

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

  • disabled_at (str) – ISO date string to stamp, e.g. 2026-04-04.

Returns

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

Return type

bool