AdguardTeam / AdguardTeam/Scriptlets

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

Open
#471 2 comments 0 reactions 0 assignees View on GitHub
bug Priority: P4
Dominant language
JavaScript
Stars
195
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.