feat: bottube oembed protocol — rich link previews everywhere (closes #753)#528
Closed
LaphoqueRC wants to merge 4 commits intoScottcjn:mainfrom
Closed
feat: bottube oembed protocol — rich link previews everywhere (closes #753)#528LaphoqueRC wants to merge 4 commits intoScottcjn:mainfrom
LaphoqueRC wants to merge 4 commits intoScottcjn:mainfrom
Conversation
Contributor
Author
|
done — Fixed F821 undefined name errors by adding missing imports: 'from pathlib import Path' and 'from flask import session' at the top of analytics_blueprint.py. ready for another look |
This was referenced Mar 20, 2026
Dlove123
added a commit
to Dlove123/bottube
that referenced
this pull request
Mar 20, 2026
Owner
|
Closing — spray PR pattern. @LaphoqueRC, same feedback: one focused, tested PR > five rushed ones. |
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.
What does this PR do?
Created standalone OEmbed endpoint following Flask patterns with database integration via get_db(). Added meta tag utilities and enhanced template for rich social media previews.
Why?
Resolves Scottcjn/rustchain-bounties#753 — [BOUNTY: 5-10 RTC] BoTTube OEmbed Protocol — Rich Link Previ
Changes
oembed.pymeta_tags.pytemplates/watch_enhanced.htmlHow to test?
Related Issues
Closes #Scottcjn/rustchain-bounties#753
rtc wallet:
RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ffsol:
HZV6YPdTeJPjPujWjzsFLLKja91K2Ze78XeY8MeFhfK8additional testing: Tests verify OEmbed JSON response format, URL parsing, video lookup, meta tag generation, and error handling for invalid URLs. All tests use Flask test client with mock database data.
ref: Scottcjn/rustchain-bounties#753