News for hackers. Stuff that matters.
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by ajsnigrutin on Saturday October 14, 2023 @07:03PM (#37885073)
I was planning to code this with yt-dlp, to just download the videos and never open the webside again....

I just have to figure out how to implement sponsor-block, to remove the "this video is sponsored by shadow raid vpn" messages... probably can be done with ffmpeg :)

Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by garblegarble on Saturday October 14, 2023 @07:19PM (#37885170)
Good news! yt-dlp already has sponsorblock built-in :-) Have a look in the --help text output for the "sponsorblock-remove" arg.
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by ajsnigrutin on Saturday October 14, 2023 @07:36PM (#37885304)
Just saw the other comment! Thank you!
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by Nullabillity on Saturday October 14, 2023 @07:19PM (#37885171)

    yt-dlp --sponsorblock-remove default
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by ajsnigrutin on Saturday October 14, 2023 @07:36PM (#37885305)
wow... thank you!
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by mainpassathome on Saturday October 14, 2023 @07:17PM (#37885162)
either use and nvidous instance that had sponsorblock(?) or use mpv with the sponsorblock script in your program
Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by paulmd on Saturday October 14, 2023 @07:31PM (#37885274)
just fyi, but this already exists via platforms like invidious, which is like a self-hosted youtube proxy that you interact with, and it dumps files to disk/etc. there are some other similar things already too.

not that you shouldn't use yt-dlp, because it's great!

and yes, as others mention - you can have yt-dlp use sponsorblock to cut out the ad sections too.

Re:Anti-Anti-Adblocker uBlock filter to get rid of the annoy... by vikramkr on Saturday October 14, 2023 @08:24PM (#37885599)
At the point where you're removing sponsor messages within a downloaded copy - of hope you're also sponsoring on patron or buying merch or something. There's a point where there needs to be some sort of revenue source to incentivize further content creation