AdguardTeam / AdguardTeam/Scriptlets

'm3u-prune' does not work in AdGuard for MacOS

未關閉
#471 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug Priority: P4
主要語言
JavaScript
星號
195
分支
33
PR 合併指標
30 天內沒有已合併 PR

描述

**US IP is required.**
AdGuard for Mac 2.16.1.1862 nightly.

#### Steps to reproduce

1. Open https://www.adultswim.com/streams/

#### Actual behaviour

Ad preroll (with the ad label. They also have unblockable video ad in the stream).

Example of `m3u8` file
https://regex101.com/r/jYclr1/1

Details

![image](https://github.com/user-attachments/assets/4a38dbf7-7ca2-40e7-871f-b9703eb1226f)

I also checked in Chrome with the browser extension - with following unblocking rules I see ads:

```
adultswim.com#@%#//scriptlet('m3u-prune', '/vod-media-aka.warnermediacdn.com\/mtg\d+\/.*\d{3,4}x\d{3,4}-.*\.ts/', '.m3u8')
adultswim.com#@%#//scriptlet('m3u-prune', '/ad-slate|warnermediacdn\.com\/mtg|warnermediacdn\.com\/prod01/', '.m3u8')
@@||adultswim-vodlive.cdn.turner.com^$removeparam=caid,domain=adultswim-vodlive.cdn.turner.com
```

When I disable the first unblocking rule, ads are blocked.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。