Fix protonvpn downloader

This commit is contained in:
lord-alfred
2025-02-26 11:16:56 +03:00
parent bd2504ff6e
commit 8ae9c4f125

View File

@@ -15,10 +15,8 @@ jq '.LogicalServers[].Servers[].EntryIP' -r /tmp/protonvpn.json | tr -d '"' > /t
# save ipv4
grep -v ':' /tmp/protonvpn-all.txt > /tmp/protonvpn-ipv4.txt
# save ipv6
grep ':' /tmp/protonvpn-all.txt > /tmp/protonvpn-ipv6.txt
# ipv6 not provided
# sort & uniq
sort -V /tmp/protonvpn-ipv4.txt | uniq > protonvpn/ipv4.txt
sort -V /tmp/protonvpn-ipv6.txt | uniq > protonvpn/ipv6.txt