amitbl / blocktube

YouTube™ content blocker
GNU General Public License v3.0
926 stars 66 forks source link

Blocked videos and channels not blocked when there is an extra element. #270

Open Deadsy81 opened 1 year ago

Deadsy81 commented 1 year ago

Lately I have noticed that some videos/channels which I have blocked are not being blocked anymore.

What they seem to have in common is an element with this class set "badge badge-style-type-collection style-scope ytd-badge-supported-renderer". They don't seem to be playlists and I think that element is new and might be messing up something in the code.

This happens at least in the recommended videos section when you are wathing a video from "watch later" list. An example of a channel I follow, but have blocked videos I have already seen and they bleed through: https://www.youtube.com/c/HistoryMarche/videos . When I look at the video list of the channel things are being blocked so the problem doesn't appear in every place.

Thanks