Skip to content

MBS-14321: Support Niconico Shorts#3752

Open
rinsuki wants to merge 1 commit intometabrainz:masterfrom
rinsuki:feature/niconico-shorts
Open

MBS-14321: Support Niconico Shorts#3752
rinsuki wants to merge 1 commit intometabrainz:masterfrom
rinsuki:feature/niconico-shorts

Conversation

@rinsuki
Copy link
Copy Markdown
Contributor

@rinsuki rinsuki commented Apr 15, 2026

Implement https://tickets.metabrainz.org/browse/MBS-14321 .

Solution

Note, because of those reasons, this code replaces /shorts/ to old /watch/:

  • YouTube Shorts /shorts/vid are also replaced to /watch?v=vid
  • current version of their iOS app (version 12.25, just in case) 's share button uses /watch/ URL for Shorts, so they probably handle it forever
    • Shorts uses ss prefix for video ID, we can replace it by simple replace() if needed

AI usage

None

Testing

Two tests added to test file.

Copy link
Copy Markdown
Member

@reosarevok reosarevok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMBDNT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants