Repository navigation
Restore anonymous Facebook videos and TikTok mobile/embed extraction - #1
Merged
Merged
Conversation
Preserve bounded downloads, platform URL checks and task identity. Add regression tests and an isolated CI build; no deployment or private configuration.
Handle heterogeneous unrelated hydration data without failing the video parser. Add regressions for mixed scalar/object data and privacy flags. Apply source formatting from the successful CI build.
Use the site's temporary cookie scopes without importing browser sessions. Check HEAD status, propagate download headers, and retry rejected range transfers once as bounded ordinary GETs without retaining partial prefixes. Cover separate Facebook post/video IDs and download regressions.
mrjacock
marked this pull request as ready for review
October 31, 2026 21:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore public Facebook videos and TikTok mobile/app share links without requiring a personal account. Facebook now tries a bounded anonymous yt-dlp path; TikTok reads the current mobile/embed schemas and preserves only the site's correctly scoped temporary anonymous cookies. Download HEAD/GET headers are consistent, and rejected range transfers can fall back once to a bounded ordinary GET without retaining partial data.
Validation completed on head 8dc1c3a: complete Go suite and targeted race checks passed in Actions run 41242029556. Live matrix: 13 successful download cases (six distinct Facebook videos, two distinct TikTok videos, an Instagram Reel and a three-photo album), plus a correct oversized-file rejection. Covered actual mobile app shares, m.facebook.com Reel/watch variants, video.php, short TikTok redirects/empty handles and embed URLs. Temporary files were checked after each successful case.
Two additional Facebook URLs remain unavailable to anonymous retrieval; these are documented limitations, not counted as downloaded videos. One is unavailable in the user's browser as well. Real Telegram delivery succeeded for a 64-second TikTok and a 27-second Facebook app share sent together in one message. Live deployment preserves access/resource limits and other services; no personal account/session was imported.
No private configuration, host firewall rules, prebuilt registry publication or upstream contribution is included. This PR targets the user's own repository.