mirror of
https://github.com/Loyalsoldier/clash-rules.git
synced 2024-11-27 08:24:02 +08:00
Refine list
This commit is contained in:
parent
62a5cdf9e7
commit
0dfe2ef96d
6
.github/workflows/run.yml
vendored
6
.github/workflows/run.yml
vendored
@ -48,17 +48,17 @@ jobs:
|
||||
- name: Generate direct.txt file
|
||||
run: |
|
||||
echo "payload:" > direct.txt
|
||||
curl -sSL ${Loyalsoldier_direct} | grep -Ev "^(regex|keyword):" | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> direct.txt
|
||||
curl -sSL ${Loyalsoldier_direct} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> direct.txt
|
||||
|
||||
- name: Generate proxy.txt file
|
||||
run: |
|
||||
echo "payload:" > proxy.txt
|
||||
curl -sSL ${Loyalsoldier_proxy} | grep -Ev "^(regex|keyword):" | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||
curl -sSL ${Loyalsoldier_proxy} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||
|
||||
- name: Generate reject.txt file
|
||||
run: |
|
||||
echo "payload:" > reject.txt
|
||||
curl -sSL ${Loyalsoldier_reject} | grep -Ev "^(regex|keyword):" | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> reject.txt
|
||||
curl -sSL ${Loyalsoldier_reject} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> reject.txt
|
||||
|
||||
- name: Generate cncidr.txt file
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user