Skip to content

Commit 656f3f2

Browse files
authored
屏蔽迅雷X来源请求
防止被迅雷抓取到反代,导致worker额度大量消耗
1 parent 7d48b71 commit 656f3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf-worker/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ addEventListener('fetch', event => {
126126
* 阻断器
127127
*/
128128
const blocker = {
129-
keys: [".m3u8", ".ts", ".acc", ".m4s", "photocall.tv", "googlevideo.com"],
129+
keys: [".m3u8", ".ts", ".acc", ".m4s", "photocall.tv", "googlevideo.com", "xunleix.com"],
130130
check: function (url) {
131131
url = url.toLowerCase();
132132
let len = blocker.keys.filter(x => url.includes(x)).length;

0 commit comments

Comments
 (0)