Splitting YoutubeBridge
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reviewing the existing YoutubeBridge entry point and the related issue #2308. Check how RSS-Bridge handles hiding contexts, then define the shared behavior for the proposed video, playlist, broadcast, and Shorts bridges. Done means each tab has the requested bridge behavior and YoutubeBridge retains its channel-wide feed semantics.
Written by the indexing model from the issue text.
Description
At the moment, if you visit some youtube profile you will be able to see at least these tabs.
- Videos
- Playlists
- Broadcasts. Includes current, past broadcasts and future broadcasts
- Shorts
- Community. Bridge for this tab already exists which is maintained by @VerifiedJoseph
In current implementation, YoutubeBridge is expected to return latest videos from all tabs. At the moment of writing if we are not using duration_min/max params it does like expected [1]. If not, YoutubeBridge returns videos from "Videos" tab [2]. In given link am using very big number, that will include probably any video. Using profile, that posts mostly shorts and has only 2 videos in "Videos" tab.
[1] https://feed.eugenemolotov.ru/?action=display&bridge=YoutubeBridge&context=By+custom+name&custom=%40unreal_keanu&duration_min=&duration_max=&format=Html
[2] https://feed.eugenemolotov.ru/?action=display&bridge=YoutubeBridge&context=By+custom+name&custom=%40unreal_keanu&duration_min=&duration_max=99999999&format=Html
As conclusion I would like to do this:
- make bridges "YouTubeVideosTab", "YouTubePlaylistsTab", "YouTubeBroadcastsTab" and "YoutubeShortsTab" to output corresponding tabs. All bridges will have common code. "YoutubeShortsTab" won't have "duration_min/max" params, since all videos are short. YoutubeBroadcastsTab will also have option to exclude future and current broadcasts.
- current "YoutubeBridge" will continue to return latest videos from channel. Feed in [2] should be consider as a bug in YoutubeBridge, and expected behavior in YouTubeVideosTabBridge.
- "Playlist" option in YoutubeBridge should be hidden. YouTubePlaylistsTab and "Playlist" option in Youtube bridge should have same code. In short both should work. I am not sure if hiding context is available in current implementation of RSS-Bridge.
Opinions?
Related issue that is wrongly closed atm. https://github.com/RSS-Bridge/rss-bridge/issues/2308
- Dominant language
- PHP
- Stars
- 9.2k
- Forks
- 1.2k
- Avg merge
- 12h 45m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RSS-Bridge/rss-bridge
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Bug-Report
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RSS-Bridge/rss-bridge#5095 · 2 comments ·
-
Bug-Report
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
RSS-Bridge/rss-bridge#5089 ·
-
Bug-Report
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
RSS-Bridge/rss-bridge#4985 · 1 comment ·
-
Bridge-Request
Difficulty 4/5 3-5 days Newbie friendliness 55/100
RSS-Bridge/rss-bridge#5097 ·
All issues in RSS-Bridge/rss-bridge
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100