Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Block channel by URL #4346

Open
3 tasks done
kommunarr opened this issue Nov 18, 2023 · 3 comments
Open
3 tasks done

[Feature Request]: Block channel by URL #4346

kommunarr opened this issue Nov 18, 2023 · 3 comments

Comments

@kommunarr
Copy link
Collaborator

kommunarr commented Nov 18, 2023

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • This issue contains only one feature request.

Problem Description

Currently, channels can be blocked by their ID. This can be inconvenient, as many people may be holding the channel link, but will have to search for the Get ID option in YouTube / Invidious / etc. or manually delete most of the URL to paste it in.

Proposed Solution

Enable blocking channels by URL:

  1. For channel links of the form */:id
  2. For channel links without channel ID (e.g., https://www.youtube.com/user/barbie)

Alternatives Considered

Adding a "Copy Channel ID" option on the Channel page (as is done by YouTube) and/or the video dropdown would mitigate the UX speedbump, to a decent extent.

Issue Labels

ease of use improvement, improvement to existing feature

Additional Information

Would have to research more to see how to achieve #2 of that issue in a performant / simple way. IIRC, our current functions only allow searching channels by ID. If anyone has any ideas, please feel free to share.

@absidue
Copy link
Member

absidue commented Nov 22, 2023

YouTube's APIs only allow you to get a channel by ID, but you can use the getLocalChannelId and the invidiousGetChannelId to resolve a vanity channel URL to it's ID (we use those functions on the channel page to resolve the vanity URLs).

@kommunarr
Copy link
Collaborator Author

@seb-1204
Copy link

Where can I find documentation on how to block channels? I did not find anything at https://docs.freetubeapp.io/usage/subscriptions/#subscribing-to-a-channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To assign
Development

No branches or pull requests

3 participants