From a751a95cfa8afd669ab6dbc88588b51a6735cfbd Mon Sep 17 00:00:00 2001 From: pickrui <96955477+pickrui@users.noreply.github.com> Date: Tue, 20 Sep 2022 08:36:01 +0800 Subject: [PATCH] Update YouTube.sgmodule --- Surge/Surge 3/Module/YouTube.sgmodule | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Surge/Surge 3/Module/YouTube.sgmodule b/Surge/Surge 3/Module/YouTube.sgmodule index 66450b3..dae14ca 100644 --- a/Surge/Surge 3/Module/YouTube.sgmodule +++ b/Surge/Surge 3/Module/YouTube.sgmodule @@ -2,19 +2,19 @@ #!desc=YouTube videos removes ads. [Rule] -URL-REGEX,https?:\/\/.+.googlevideo.com\/ptracking\?pltype=adhost,REJECT -URL-REGEX,https?:\/\/.+.youtube.com\/api\/stats\/ads,REJECT -URL-REGEX,https?:\/\/.+.youtube.com\/get_midroll_,REJECT -URL-REGEX,https?:\/\/.+.youtube.com\/pagead\/,REJECT -URL-REGEX,https?:\/\/.+.youtube.com\/ptracking\?,REJECT -URL-REGEX,https?:\/\/.+.youtube.com\/_get_ads,REJECT -URL-REGEX,https?:\/\/premiumyva.appspot.com\/vmclickstoadvertisersite,REJECT -URL-REGEX,https?:\/\/s0.2mdn.net\/ads\/,REJECT -URL-REGEX,https?:\/\/stats.tubemogul.com\/stats\/,REJECT -URL-REGEX,https?:\/\/youtubei.googleapis.com\/.+ad_break,REJECT -URL-REGEX,https?:\/\/youtubei.googleapis.com\/youtubei\/.+(ad|log),REJECT -URL-REGEX,https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adformat,REJECT -URL-REGEX,https?:\/\/[\w-]+\.googlevideo\.com\/.+&oad,REJECT-TINYGIF +URL-REGEX,https?:\/\/.+\.googlevideo\.com\/ptracking\?pltype=adhost,REJECT +URL-REGEX,https?:\/\/.+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+(&oad|ctier),REJECT +URL-REGEX,https?:\/\/.+\.youtube\.com\/api\/stats\/ads,REJECT +URL-REGEX,https?:\/\/.+\.youtube\.com\/get_midroll_,REJECT +URL-REGEX,https?:\/\/.+\.youtube\.com\/(pagead|ptracking)\/,REJECT +URL-REGEX,https?:\/\/.+\.youtube\.com\/_get_ads,REJECT +URL-REGEX,https?:\/\/premiumyva\.appspot\.com\/vmclickstoadvertisersite,REJECT +URL-REGEX,https?:\/\/s0\.2mdn\.net\/ads\/,REJECT +URL-REGEX,https?:\/\/stats\.tubemogul\.com\/stats\/,REJECT +URL-REGEX,https?:\/\/youtubei\.googleapis\.com\/.+ad_break,REJECT +URL-REGEX,https?:\/\/youtubei\.googleapis\.com\/youtubei\/.+(ad|log),REJECT +URL-REGEX,https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?.*adformat,REJECT +URL-REGEX,https?:\/\/(?!redirector)[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+)(ctier=L)(&.+),REJECT-TINYGIF [URL Rewrite] ctier=[A-Z] citer=A 302 @@ -23,4 +23,4 @@ ctier=[A-Z] citer=A 302 http-request https?:\/\/.+?\.googlevideo\.com\/.+&(oad|ctier)=(?!A),script-path=https://choler.github.io/Surge/Script/YouTube.js [MITM] -hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com \ No newline at end of file +hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com