Skip to content

一分钟搭建影视站,支持Docker等部署方式

fix(config): 修正非凡影视广告过滤规则的正则表达式

shinyaa54f6451c4ed
diff --git a/js/config.js b/js/config.js
index bf494d7..a58e3f0 100644
--- a/js/config.js
+++ b/js/config.js
@@ -31,7 +31,7 @@ const API_SITES = {
api: 'http://ffzy5.tv',
name: '非凡影视',
detail: 'http://ffzy5.tv',
- filterAdRule: '#EXT-X-DISCONTINUITY[\\r\\n]+(?:#EXTINF:\\d+\\.\\d{6},[\\r\\n]+.*?[\\r\\n]+){4,5}#EXT-X-DISCONTINUITY'
+ filterAdRule: '#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:6.666667,[\\s\\S]*?#EXT-X-DISCONTINUITY'
},
tyyszy: {
api: 'https://tyyszy.com',