I don't know if this applies to your circumstance, but w.r.t. those m3u8 urls posted elsewhere: I have found that
a lot of systems will cheerfully reference the ad-break content on some rando spammy looking domain in the middle of their otherwise sane #EXTM3U format making it cheap to just block them and the player skips over it
My suspicion is that is how uBlock Origin is able to make the YT ads magically disappear without otherwise blowing up the content stream