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

feat(YouTube): Block videos by channel name or video title keywords #1104

Closed
3 tasks done
gjgok opened this issue Apr 24, 2023 · 7 comments
Closed
3 tasks done

feat(YouTube): Block videos by channel name or video title keywords #1104

gjgok opened this issue Apr 24, 2023 · 7 comments
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@gjgok
Copy link

gjgok commented Apr 24, 2023

Application

YouTube revanced

Issue

Inability to hide videos from specific channels and specific keywords.

Patch

I would like to add the ability to hide videos with specific channels or specific words in the search results or recommendations section and home.

Motivation

To enable users to search for content that they like more.

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@gjgok gjgok added the Feature request Requesting a new feature that's not implemented yet label Apr 24, 2023
@caicaicaicaicaicaicaicai

This comment was marked as spam.

@oSumAtrIX oSumAtrIX changed the title feat(patch): Hundreds of videos with specific channels and specific keywords feat(patch): block videos with specific channels and specific keywords Jun 11, 2023
@dmitrybabich
Copy link

This would be really nice to have. I want to allow my kids to watch educational videos, but block everything related to gaming, for example. Is it technically possible to add this functionality to block by specific keyword like "Fortnite" or specific channel name?

@sunnyd24
Copy link

It would be great to have whitelist functionality.
i.e. Only allow search results or browse videos/channels from specific 'channels' or 'keywords' that appear in whitelist.

@oSumAtrIX oSumAtrIX transferred this issue from ReVanced/revanced-patches-template Dec 14, 2023
@oSumAtrIX oSumAtrIX transferred this issue from another repository Dec 14, 2023
@spectrolit
Copy link

It would be wonderful if it were possible to apply these settings globally for a certain device regardless of the Google account with which it is connected so that it would be possible to use it even without connecting to a YouTube channel

@LisoUseInAIKyrios
Copy link
Contributor

This is now possible using custom filter. See the syntax and examples in #2682

Implementing a dedicated patch just for search/home feed content filtering could be a lot easier to use than custom filter, but it would need consideration on how to present the UI (filter just home feed? Filter search? Hide shorts or regular videos? One list of phrases for everything or individual lists for each type of video? Etc etc).

@dmitrybabich
Copy link

dmitrybabich commented Feb 10, 2024

Thanks for the update @LisoUseInAIKyrios!

Is it possible to provide a bit more details how to apply the custom filter? Should I use revanced manager?

Implementing a dedicated patch just for search/home feed content filtering could be a lot easier to use than custom filter

Is there a tutorial on how I can implement a custom patch? I am a developer, but never worked with android apps. If it's not too time consuming I am ready to invest time into learning how to do this custom patching.

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented Feb 11, 2024

Check https://github.com/ReVanced/revanced-documentation?tab=readme-ov-file

And
https://github.com/ReVanced/revanced-patches/blob/docs/docs/README.md
To get started.

Making this a patch would be really simple, but the time would be figuring out a UI design that is easy to understand and use.

I suppose the simplest (and least likely to cause performance issues), is a single text preference for the phrases to hide, and switches to apply that filter to the home feed / search / shorts recommendations. And maybe one more UI switch to use commonly found capitalization patterns (so entering mr beast automatically also hides Mr Beast and MR BEAST).

Hiding content in the feed/search leaves behind residue of hidden videos that cannot be hidden, such as the chapter preview for a search result video. A limitation of making this into a patch, but it would still be easier to use than custom filter (which is raw and requires reading guides to figure out).

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat(patch): block videos with specific channels and specific keywords feat(YouTube): Block videos by channel name or video title keywords Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature that's not implemented yet
Projects
None yet
Development

No branches or pull requests

6 participants