Commit 7d2e3df

Repositorybojemoi
Branchmain
AuteurBetty
Hash7d2e3df0ec701750fc49b6cc61b62c64bc65b0df
Date2026-02-13

Description

Razvedka now polls X/Twitter API v2 in parallel with Telegram monitoring. Both sources feed the same buzz_log table and extraction pipeline. Telegram is now optional (warning instead of exit) so Razvedka can run with either or both sources.

  • New twitter.py: async poll loop using tweepy, since_id tracking, rate limit handling
  • config.py: twitter_bearer_token, twitter_accounts, twitter_search_queries, twitter_poll_interval
  • db.py: source column with migration for existing deployments
  • main.py: Telegram extracted to helper, Twitter task launched in parallel
  • metrics.py: descriptions updated from “Telegram” to “CTI sources”
  • Stack: twitter_bearer_token secret + env vars for accounts/queries/interval

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Fichiers modifiés

MMMMAMArrrrrrsaaaaaatzzzzzzavvvvvvceeeeeekdddddd/kkkkkk4aaaaaa6//////-rrrrrrsaaaaaeezzzzzqrvvvvvuveeeeeiidddddrckkkkkeeaaaaam-/////ercdmmtnaobaewtzn.itisvfpnrt.eiy.ittdgpcexk.ysrtap...yppyyyml

Statistiques

7fileschanged,332insertions(+),33deletions(-)