Skip to content

Commit

Permalink
Update youtube.sgmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
scomper authored Sep 28, 2020
1 parent 048392d commit f21e6f4
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Modules/youtube.sgmodule
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
#!name=YouTube
#!desc=跳过片头广告
#!system=ios
#!desc=YouTube videos removes ads. v20200602.01

[Rule]
# 如果您是 YouTube Premium,请不要开启此模块。
URL-REGEX,^https?:\/\/[\w-]+\.googlevideo\.com\/.+&(oad|ctier),REJECT-TINYGIF
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|ctier),REJECT-TINYGIF

[MITM]
hostname = %INSERT% *.googlevideo.com
hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com

0 comments on commit f21e6f4

Please sign in to comment.