mirror of
https://github.com/Simple-Tracker/qBittorrent-ClientBlocker.git
synced 2025-01-08 11:47:54 +08:00
Modify blockList to file (#116)
This commit is contained in:
parent
b37446e63e
commit
47952ee543
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -84,7 +84,7 @@ jobs:
|
|||||||
md5sum: false
|
md5sum: false
|
||||||
sha256sum: false
|
sha256sum: false
|
||||||
binary_name: 'qBittorrent-ClientBlocker'
|
binary_name: 'qBittorrent-ClientBlocker'
|
||||||
extra_files: 'lang/ LICENSE *.md config.json'
|
extra_files: 'lang/ LICENSE *.md *.json '
|
||||||
- name: 'Upload GitHub Artifact (Nightly)'
|
- name: 'Upload GitHub Artifact (Nightly)'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ github.event_name != 'release' }}
|
if: ${{ github.event_name != 'release' }}
|
||||||
|
6
blockBackList.json
Normal file
6
blockBackList.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[
|
||||||
|
"^-UW\\w{4}-", // uTorrent Web.
|
||||||
|
"^-SP(([0-2]\\d{3})|(3[0-5]\\d{2}))-",
|
||||||
|
"StellarPlayer", // 恒星播放器.
|
||||||
|
"dandanplay" // 弹弹 Play.
|
||||||
|
]
|
25
blockList.json
Normal file
25
blockList.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
[
|
||||||
|
"Gopeed dev",
|
||||||
|
"Rain 0.0.0",
|
||||||
|
"Taipei-Torrent dev",
|
||||||
|
"Xunlei",
|
||||||
|
"^-(SD|XF|QD|BN|DL)",
|
||||||
|
"^-DT",
|
||||||
|
"^-GT0002",
|
||||||
|
"^-HP",
|
||||||
|
"^-RN",
|
||||||
|
"^-XL",
|
||||||
|
"^-XM",
|
||||||
|
"anacrolix[ /]torrent v?([0-1]\\\\.(([0-9]|[0-4][0-9]|[0-5][0-2])\\\\.[0-9]+|(53\\\\.[0-2]( |$)))|unknown)",
|
||||||
|
"cacao_torrent",
|
||||||
|
"dt[ /]torrent",
|
||||||
|
"go[ \\\\.]torrent",
|
||||||
|
"gobind",
|
||||||
|
"hp[ /]torrent",
|
||||||
|
"ljyun.cn",
|
||||||
|
"offline-download",
|
||||||
|
"qBittorrent[ /]3\\\\.3\\\\.15",
|
||||||
|
"trafficConsume",
|
||||||
|
"xm[ /]torrent",
|
||||||
|
"ޭ__"
|
||||||
|
]
|
35
config.json
35
config.json
@ -12,32 +12,23 @@
|
|||||||
"clientPassword": "",
|
"clientPassword": "",
|
||||||
"useBasicAuth": false,
|
"useBasicAuth": false,
|
||||||
"skipCertVerification": false,
|
"skipCertVerification": false,
|
||||||
"blockList": [
|
"blockListFile": [
|
||||||
"^-(SD|XF|QD|BN|DL)",
|
"blockList.json",
|
||||||
"^-XL", "Xunlei", "cacao_torrent",
|
// "blockBackList.json",
|
||||||
"anacrolix[ /]torrent v?([0-1]\\.(([0-9]|[0-4][0-9]|[0-5][0-2])\\.[0-9]+|(53\\.[0-2]( |$)))|unknown)",
|
],
|
||||||
"^-DT", "dt[ /]torrent", "^-HP", "hp[ /]torrent", "^-XM", "xm[ /]torrent",
|
"blockListURL": [
|
||||||
"trafficConsume", "\u07ad__",
|
"https://bta.iaalai.cn/qBittorrent-ClientBlocker/blockList.json",
|
||||||
"^-GT0002", "go[ \\.]torrent",
|
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/blockList.json"
|
||||||
"^-RN", "Rain 0.0.0",
|
],
|
||||||
"Taipei-Torrent dev", "Gopeed dev",
|
|
||||||
"qBittorrent[ /]3\\.3\\.15",
|
|
||||||
"gobind", "offline-download",
|
|
||||||
"ljyun.cn",
|
|
||||||
],
|
|
||||||
"_blockList": [
|
|
||||||
// 可选 blockList.
|
|
||||||
"^-UW\\w{4}-", // uTorrent Web.
|
|
||||||
"^-SP(([0-2]\\d{3})|(3[0-5]\\d{2}))-", "StellarPlayer", // 恒星播放器.
|
|
||||||
"dandanplay" // 弹弹 Play.
|
|
||||||
],
|
|
||||||
"blockListURL": [],
|
|
||||||
"blockListFile": [],
|
|
||||||
"portBlockList": [],
|
"portBlockList": [],
|
||||||
"ipBlockList": [],
|
"ipBlockList": [
|
||||||
|
"customIpBlock.txt",
|
||||||
|
"ipBlockList.txt"
|
||||||
|
],
|
||||||
"ipBlockListURL": [
|
"ipBlockListURL": [
|
||||||
"https://bta.iaalai.cn/BTN-Collected-Rules/combine/all.txt",
|
"https://bta.iaalai.cn/BTN-Collected-Rules/combine/all.txt",
|
||||||
"https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt",
|
"https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt",
|
||||||
|
"https://bta.iaalai.cn/BTN-Collected-Rules/qBittorrent-ClientBlocker/blockIP.txt",
|
||||||
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/blockIP.txt"
|
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/blockIP.txt"
|
||||||
],
|
],
|
||||||
"ipBlockListFile": []
|
"ipBlockListFile": []
|
||||||
|
Loading…
Reference in New Issue
Block a user