Skip to content

Restore Instagram, Facebook and TikTok downloads and harden group processing - #45

Open
mrjacock wants to merge 9 commits into
govdbot:mainfrom
mrjacock:fix/public-facebook-tiktok
Open

mrjacock wants to merge 9 commits into
govdbot:mainfrom
mrjacock:fix/public-facebook-tiktok

Conversation

@mrjacock

@mrjacock mrjacock commented Oct 31, 2026 •

Copy link
Copy Markdown

This draft includes the complete reviewed bot improvements. The primary goal is restoring anonymous Instagram downloads that failed with the March baseline.

Changes:

  • Instagram recovery for Reels, photo/mixed albums and share links, with metadata validation and an optional bounded yt-dlp fallback.
  • Facebook public video/share extraction and updated TikTok mobile/embed support.
  • Download size and duration limits, consistent headers, bounded fallback and temporary-file cleanup.
  • Telegram task ownership and callback authorization checks, validated settings, rate limits and concurrency controls.
  • Outbound URL, redirect and cookie protections, media-processing limits and dependency updates.
  • Regression tests, installation/migration instructions and an explicit bounded Compose deployment.

No personal credentials, personal cookies, private deployment configuration or host-specific firewall rules are included.

The independently maintained distribution passed unit tests, targeted race checks and live download/Telegram delivery tests. This complete upstream contribution is undergoing its own CI and lint review. Some links remain unavailable anonymously; universal platform compatibility is not guaranteed.

Please keep this PR as a draft while checks and review are pending. Detailed security findings will be coordinated separately through a private channel.

…ecovery

Restore anonymous Instagram Reels, albums and share links; include task authorization, callback validation, bounded admission and resource handling, outbound HTTP controls, dependency updates and explicit deployment instructions. Exclude all personal credentials, operational reports and host-specific firewall configuration.
@mrjacock mrjacock changed the title Restore anonymous Facebook and TikTok mobile video downloads Restore Instagram, Facebook and TikTok downloads and harden group processing Oct 31, 2026
Use shared constants, close test responses, compare wrapped errors correctly, remove unused headers and clean up test loops, allocations and shadowed names. Keep runtime deployment unchanged.
Consolidate repeated fixture/FFmpeg strings, update remaining test loops, declare the busy message in the localization source and export generated/formatted sources for review.
Record the complete successful build, unit, race and upstream lint run. Preserve all Instagram, Facebook, TikTok and group hardening changes; no personal deployment data or host firewall rules are included.
@mrjacock
mrjacock marked this pull request as ready for review November 1, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant