mirror of
https://github.com/Loyalsoldier/clash-rules.git
synced 2024-11-10 03:15:35 +08:00
Remove regexp & keyword types of domains
This commit is contained in:
parent
594f81515e
commit
28f62a90c5
10
.github/workflows/run.yml
vendored
10
.github/workflows/run.yml
vendored
@ -51,27 +51,27 @@ jobs:
|
|||||||
- name: Generate direct.txt file
|
- name: Generate direct.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > direct.txt
|
echo "payload:" > direct.txt
|
||||||
curl -sSL ${Loyalsoldier_direct} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> direct.txt
|
curl -sSL ${Loyalsoldier_direct} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> direct.txt
|
||||||
|
|
||||||
- name: Generate proxy.txt file
|
- name: Generate proxy.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > proxy.txt
|
echo "payload:" > proxy.txt
|
||||||
curl -sSL ${Loyalsoldier_proxy} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> proxy.txt
|
curl -sSL ${Loyalsoldier_proxy} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||||
|
|
||||||
- name: Generate reject.txt file
|
- name: Generate reject.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > reject.txt
|
echo "payload:" > reject.txt
|
||||||
curl -sSL ${Loyalsoldier_reject} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> reject.txt
|
curl -sSL ${Loyalsoldier_reject} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> reject.txt
|
||||||
|
|
||||||
- name: Generate gfw.txt file
|
- name: Generate gfw.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > gfw.txt
|
echo "payload:" > gfw.txt
|
||||||
curl -sSL ${Loyalsoldier_gfw} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> gfw.txt
|
curl -sSL ${Loyalsoldier_gfw} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> gfw.txt
|
||||||
|
|
||||||
- name: Generate greatfire.txt file
|
- name: Generate greatfire.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > greatfire.txt
|
echo "payload:" > greatfire.txt
|
||||||
curl -sSL ${Loyalsoldier_greatfire} | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$1|\n"' | sed "s/|/'/g" >> greatfire.txt
|
curl -sSL ${Loyalsoldier_greatfire} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> greatfire.txt
|
||||||
|
|
||||||
- name: Generate tld-not-cn.txt file
|
- name: Generate tld-not-cn.txt file
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user