Commit Graph

9 Commits

Author SHA1 Message Date
exostring be01558ddb Remove non-functional MAX auto-reaction, add real TG auto-reaction
MAX Bot API has no reaction endpoint (confirmed 404 in production logs),
so drop the dead code path entirely instead of eating a warning every post.

Telegram's setMessageReaction is a real Bot API method (verified against
aiogram 3.21.0, the pinned version) - wire it up as a non-fatal
best-effort call after a successful send, mirroring the same
try/except-and-log pattern MAX already used.
2026-08-14 22:14:31 +05:00
exostring 6a7a995d5f Fix duplicate posting, HTML escaping, restore sendRichMessage correctly
- Stop re-sending to a platform that already succeeded when the other
  platform failed (was causing duplicate posts on partial failure)
- Escape VK post text before sending with parse_mode=HTML instead of
  only escaping matched bracket-link substrings (bare & < > broke sends)
- Restore Telegram sendRichMessage (Bot API 10.1) ported faithfully from
  new_vk_parser's proven implementation, with fallback to standard
  send_photo/send_video/send_media_group
- Restore "media unavailable" note when a video/photo fails to download
  instead of silently dropping it
- Handle YouTube link attachments from VK posts (route into yt-dlp)
- MAX: chunk media beyond 10 items into follow-up messages instead of
  dropping them
- yt-dlp format selector no longer falls back to unconstrained height
- Wire up VK_RATE_LIMIT_RPS, drop unused Pillow dep and dead config fields
2026-08-14 21:21:57 +05:00
exostring d63d3fb937 docs: add full infrastructure, deploy, commands and architecture guide to README.md and .infra.md 2026-08-14 20:02:41 +05:00
exostring bcdb352cca Fix yt-dlp file creation and clean video pipeline 2026-08-14 19:59:33 +05:00
exostring 144dd3cb52 Support full 2GB/2h video downloads via Local Bot API, clean VK wiki links and remove fallback links 2026-08-14 19:46:16 +05:00
exostring 3ded8d3edd Ensure loguru logger import in all modules 2026-08-14 19:27:57 +05:00
exostring a1988f9d89 Restore logger import in main.py 2026-08-14 19:27:04 +05:00
exostring de8501045f Fix import resolution for direct execution 2026-08-14 19:21:52 +05:00
exostring 41722c0ffc Initial commit for RedAirsoft VK to TG and MAX poster 2026-08-14 19:10:27 +05:00