improve signed reads, crypto hardening, and scraper transport

This commit is contained in:
k
2026-06-14 21:43:43 +08:00
parent 54884f3e24
commit 78fb63be8e
27 changed files with 1326 additions and 202 deletions
+3
View File
@@ -468,6 +468,9 @@ async def _ingest_kol(
# Extended analysis fields (migration 027)
row.post_type = result.get("post_type")
row.talks_vs_trades_flag = bool(result.get("talks_vs_trades_flag", False))
# tier (trade_signal/directional/noise) so the "Signals only"
# filter + SIGNAL/VIEW badges work for non-Twitter KOLs too.
row.tier = result.get("tier")
stats["analyzed"] += 1
except Exception as e:
logger.warning("[kol_substack] analysis failed for %s post %s: %s",