update something

This commit is contained in:
king
2025-07-12 09:24:10 +08:00
parent fcd8c17a68
commit 508fd9fb40
10 changed files with 246 additions and 253 deletions

File diff suppressed because one or more lines are too long

View File

@ -1455,21 +1455,11 @@ DOMAIN-KEYWORD,m.panda.voiceads.cn
DOMAIN-KEYWORD,iflyad.bj.openstorage.cn DOMAIN-KEYWORD,iflyad.bj.openstorage.cn
# > 喜马拉雅 # > 喜马拉雅
DOMAIN, adse.ximalaya.com
DOMAIN, adsehera.ximalaya.com
DOMAIN, adse.wsa.ximalaya.com
DOMAIN, adbehavior.ximalaya.com DOMAIN, adbehavior.ximalaya.com
DOMAIN, adwbs.ximalaya.com DOMAIN, adbehavior.wsa.ximalaya.com
DOMAIN-SUFFIX,ad.test.ximalaya.com
DOMAIN-SUFFIX,adse.test.ximalaya.com
DOMAIN-SUFFIX,adweb.test.ximalaya.com
DOMAIN-SUFFIX,adweb.ximalaya.com
DOMAIN-SUFFIX,linkeye.ximalaya.com
DOMAIN-SUFFIX,location.ximalaya.com
DOMAIN-SUFFIX,xdcs-collector.ximalaya.com
DOMAIN-SUFFIX,ad.ximalaya.com
DOMAIN-SUFFIX,adse.ximalaya.com
DOMAIN-SUFFIX,adse.wsa.ximalaya.com
DOMAIN-SUFFIX,adbehavior.wsa.ximalaya.com
DOMAIN-SUFFIX,adsebs.ximalaya.com
DOMAIN-SUFFIX,adbs.ximalaya.com
# > 小红书 # > 小红书
DOMAIN, ads-img-qc.xhscdn.com DOMAIN, ads-img-qc.xhscdn.com

View File

@ -1538,21 +1538,11 @@ host-keyword, m.panda.voiceads.cn, reject
host-keyword, iflyad.bj.openstorage.cn, reject host-keyword, iflyad.bj.openstorage.cn, reject
# > 喜马拉雅 # > 喜马拉雅
host, adbehavior.ximalaya.com, reject host, adse.ximalaya.com, REJECT
host, adwbs.ximalaya.com, reject host, adsehera.ximalaya.com, REJECT
host-suffix, ad.test.ximalaya.com, reject host, adse.wsa.ximalaya.com, REJECT
host-suffix, adse.test.ximalaya.com, reject host, adbehavior.ximalaya.com, REJECT
host-suffix, adweb.test.ximalaya.com, reject host, adbehavior.wsa.ximalaya.com, REJECT
host-suffix, adweb.ximalaya.com, reject
host-suffix, linkeye.ximalaya.com, reject
host-suffix, location.ximalaya.com, reject
host-suffix, xdcs-collector.ximalaya.com, reject
host-suffix, ad.ximalaya.com, reject
host-suffix, adse.ximalaya.com, reject
host-suffix, adse.wsa.ximalaya.com, reject
host-suffix, adbehavior.wsa.ximalaya.com, reject
host-suffix, adsebs.ximalaya.com, reject
host-suffix, adbs.ximalaya.com, reject
# > 小红书 # > 小红书
host, ads-img-qc.xhscdn.com, reject host, ads-img-qc.xhscdn.com, reject

View File

@ -1662,21 +1662,11 @@ host-keyword, m.panda.voiceads.cn, reject
host-keyword, iflyad.bj.openstorage.cn, reject host-keyword, iflyad.bj.openstorage.cn, reject
# > 喜马拉雅 # > 喜马拉雅
host, adbehavior.ximalaya.com, reject host, adse.ximalaya.com, REJECT
host, adwbs.ximalaya.com, reject host, adsehera.ximalaya.com, REJECT
host-suffix, ad.test.ximalaya.com, reject host, adse.wsa.ximalaya.com, REJECT
host-suffix, adse.test.ximalaya.com, reject host, adbehavior.ximalaya.com, REJECT
host-suffix, adweb.test.ximalaya.com, reject host, adbehavior.wsa.ximalaya.com, REJECT
host-suffix, adweb.ximalaya.com, reject
host-suffix, linkeye.ximalaya.com, reject
host-suffix, location.ximalaya.com, reject
host-suffix, xdcs-collector.ximalaya.com, reject
host-suffix, ad.ximalaya.com, reject
host-suffix, adse.ximalaya.com, reject
host-suffix, adse.wsa.ximalaya.com, reject
host-suffix, adbehavior.wsa.ximalaya.com, reject
host-suffix, adsebs.ximalaya.com, reject
host-suffix, adbs.ximalaya.com, reject
# > 小红书 # > 小红书
host, ads-img-qc.xhscdn.com, reject host, ads-img-qc.xhscdn.com, reject

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -190,7 +190,7 @@ DOMAIN-SUFFIX, douyinvod.com, proxy
- [@Keywos](https://github.com/Keywos) - [@Keywos](https://github.com/Keywos)
- [@kokoryh](https://github.com/kokoryh) - [@kokoryh](https://github.com/kokoryh)
- [@KOP-XIAO](https://github.com/KOP-XIAO) - [@KOP-XIAO](https://github.com/KOP-XIAO)
- [@lodepuly](https://gitlab.com/lodepuly) - [@lodepuly](https://github.com/luestr)
- [@NobyDa](https://github.com/NobyDa) - [@NobyDa](https://github.com/NobyDa)
- [@Orz-3](https://github.com/Orz-3) - [@Orz-3](https://github.com/Orz-3)
- [@RuCu6](https://github.com/RuCu6) - [@RuCu6](https://github.com/RuCu6)

53
Scripts/xmly/xmly_json.js Normal file
View File

@ -0,0 +1,53 @@
const version = 'V1.0.38';
let body = $response.body;
if (body) {
switch (!0) {
case/discovery-category\/customCategories/.test($request.url):
try {
let e = JSON.parse(body);
e.customCategoryList && (e.customCategoryList = e.customCategoryList.filter(e => ("recommend" == e.itemType || "template_category" == e.itemType || "single_category" == e.itemType) && 1005 !== e.categoryId)), e.defaultTabList && (e.defaultTabList = e.defaultTabList.filter(e => ("recommend" == e.itemType || "template_category" == e.itemType || "single_category" == e.itemType) && 1005 !== e.categoryId)), body = JSON.stringify(e)
} catch (t) {
console.log("customCategories: " + t)
}
break;
case/discovery-category\/v\d\/category/.test($request.url):
try {
let a = JSON.parse(body);
a.focusImages && a.focusImages.data && (a.focusImages.data = a.focusImages.data.filter(e => -1 != e.realLink.indexOf("open") && !e.isAd)), body = JSON.stringify(a)
} catch (r) {
console.log("categories: " + r)
}
break;
case/focus-mobile\/focusPic/.test($request.url):
try {
let s = JSON.parse(body);
s.header && s.header.length <= 1 && (s.header[0].item.list[0].data = s.header[0].item.list[0].data.filter(e => -1 != e.realLink.indexOf("open") && !e.isAd)), body = JSON.stringify(s)
} catch (i) {
console.log("discovery-feed" + i)
}
break;
case/discovery-feed\/v\d\/mix/.test($request.url):
try {
let o = JSON.parse(body);
o.header?.length == 2 && delete o.header[0], o.body = o.body.filter(e => !(e.item?.adInfo || e.item?.moduleType == "mix_ad" || "bigCard" == e.displayClass)), body = JSON.stringify(o)
} catch (d) {
console.log("discovery-feed:" + d)
}
break;
case/mobile-user\/v\d\/homePage/.test($request.url):
try {
let c = new Set([210, 213, 215]), y = JSON.parse(body);
if (y.data.serviceModule.entrances) {
let l = y.data.serviceModule.entrances.filter(e => c.has(e.id));
y.data.serviceModule.entrances = l
}
body = JSON.stringify(y)
} catch (g) {
console.log("mobile-user:" + g)
}
break;
default:
$done({})
}
$done({body})
} else $done({});

View File

@ -1,2 +0,0 @@
const version = 'V1.0.38';
let body=$response.body;if(body){switch(!0){case/discovery-category\/customCategories/.test($request.url):try{let e=JSON.parse(body);e.customCategoryList&&(e.customCategoryList=e.customCategoryList.filter(e=>("recommend"==e.itemType||"template_category"==e.itemType||"single_category"==e.itemType)&&1005!==e.categoryId)),e.defaultTabList&&(e.defaultTabList=e.defaultTabList.filter(e=>("recommend"==e.itemType||"template_category"==e.itemType||"single_category"==e.itemType)&&1005!==e.categoryId)),body=JSON.stringify(e)}catch(t){console.log("customCategories: "+t)}break;case/discovery-category\/v\d\/category/.test($request.url):try{let a=JSON.parse(body);a.focusImages&&a.focusImages.data&&(a.focusImages.data=a.focusImages.data.filter(e=>-1!=e.realLink.indexOf("open")&&!e.isAd)),body=JSON.stringify(a)}catch(r){console.log("categories: "+r)}break;case/focus-mobile\/focusPic/.test($request.url):try{let s=JSON.parse(body);s.header&&s.header.length<=1&&(s.header[0].item.list[0].data=s.header[0].item.list[0].data.filter(e=>-1!=e.realLink.indexOf("open")&&!e.isAd)),body=JSON.stringify(s)}catch(i){console.log("discovery-feed"+i)}break;case/discovery-feed\/v\d\/mix/.test($request.url):try{let o=JSON.parse(body);o.header?.length==2&&delete o.header[0],o.body=o.body.filter(e=>!(e.item?.adInfo||e.item?.moduleType=="mix_ad"||"bigCard"==e.displayClass)),body=JSON.stringify(o)}catch(d){console.log("discovery-feed:"+d)}break;case/mobile-user\/v\d\/homePage/.test($request.url):try{let c=new Set([210,213,215]),y=JSON.parse(body);if(y.data.serviceModule.entrances){let l=y.data.serviceModule.entrances.filter(e=>c.has(e.id));y.data.serviceModule.entrances=l}body=JSON.stringify(y)}catch(g){console.log("mobile-user:"+g)}break;default:$done({})}$done({body})}else $done({});

File diff suppressed because one or more lines are too long