feat: add AwemeAds.sgmodule & conf
parent
a979040062
commit
d9b51d68d3
@ -0,0 +1,8 @@
|
|||||||
|
hostname = *.amemv.com, *.snssdk.com
|
||||||
|
|
||||||
|
# ---(By Choler)---
|
||||||
|
# > Aweme(<= 16.2.0) - api*.amemv.com,aweme.snssdk.com
|
||||||
|
https?:\/\/(.+?)\.amemv\.com\/aweme\/v2\/feed\/ url request-header GET \/aweme\/v\d\/(.+\r\n) request-header GET /aweme/v1/$1
|
||||||
|
|
||||||
|
https?:\/\/(.+?)\.amemv\.com\/aweme\/v\d\/feed\/ url script-response-body https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js
|
||||||
|
# ------
|
@ -0,0 +1,13 @@
|
|||||||
|
#!name=Block Aweme Advertising
|
||||||
|
#!desc=By Choler | 抖音版本 <= 16.2.0
|
||||||
|
|
||||||
|
[URL Rewrite]
|
||||||
|
^https?:\/\/api.*\.amemv\.com\/aweme\/v2\/feed\/ https://aweme.snssdk.com/aweme/v1/feed/ header
|
||||||
|
|
||||||
|
[Script]
|
||||||
|
# > Aweme - *.amemv.com, *.snssdk.com
|
||||||
|
douyin = type=http-response,pattern=^https?:\/\/aweme\.snssdk\.com\/aweme\/v\d\/feed\/,requires-body=1,script-path=https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js
|
||||||
|
# ------
|
||||||
|
|
||||||
|
[MITM]
|
||||||
|
hostname = %APPEND% *.amemv.com, *.snssdk.com
|
Loading…
Reference in New Issue