auto_disable_failed_linkedin_sources
Documentation for eth_defi.feed.sources.auto_disable_failed_linkedin_sources function.
- auto_disable_failed_linkedin_sources(summary, sources, disabled_at)
Write
linkedin-rss-hub-disabled-atto YAML for every all-503 LinkedIn failure.When all configured RSSHub bridges return HTTP 503 for a LinkedIn source, LinkedIn is gating that company page behind authentication. This function stamps the feeder YAML so future scan runs skip the source entirely rather than retrying.
- Parameters
summary (CollectorRunSummary) – Collector run result from
collect_posts().sources (collections.abc.Sequence[eth_defi.feed.sources.TrackedPostSource]) – Source list passed to the same
collect_posts()call.disabled_at (str) – ISO date string to stamp in the YAML, e.g.
2026-04-04.
- Returns
Number of YAML files updated.
- Return type