Quote:
Originally Posted by Devsome
Since you also want to avoid DNS filters and browser adblockers, your only real solution is what you already suspected: extract the video source directly.
Use a local proxy or yt-dlp to fetch the stream with the correct Referer header, strip the ad segments from the manifest (M3U8), and rebroadcast it to your TV.
|
Thanks, tried the proxy method, but since Im running it from my server for family and friends, it was draining a lot of data, not sure if I proxied it correctly. My server was handling everything based on the github source I was using. Not familiar with proxies so I used a open source one that also didn't have compatibility with iPhones.
Today I might try the proxy again but maybe target the main website to handle ads, but keep the m3u8 files out of the proxy so it takes in the load of the initial website and handles all ad blocking, but doesn't deal with the load of the video itself.
I have not tried yt-dlp yet, but I will try if all fails. I also tried extracting the video content link to the user, but it depends on the server of that video that works best, so all I can realistically do is select the default server and not the one that runs best, so that project was a no go.
For reference, the videos im trying to directly remove ads from are: https://vidcore.net/movie/1198994 as an example.
Trying my best to get movies and shows running adless on tv and phones.