amitbl / blocktube

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

can not block short videos on specific channel #296

Open anhdv1107 opened 1 year ago

anhdv1107 commented 1 year ago

I tried to block short videos on this channel using this rule, but seems like it does not work youtube channel: https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw my rule:

(video, objectType) => { //ign if (video.channelId.includes('UCKy1dAqELo0zrOtPkf0eTMw')) { if (video.vidLength < 60) { return true; } if (video.title.includes('short')) { return true; } return false; } return false; }