gh workflow

This commit is contained in:
Austin Burk
2022-08-24 17:32:05 -04:00
parent a76f2205ff
commit e47195b096
2 changed files with 29 additions and 1 deletions

View File

@ -7,7 +7,7 @@ I figured I'd try to get a more comprehensive list of the domains blocked by Moj
Get a list of TLDs (idk if this is super up to date)
```
curl -s https://raw.githubusercontent.com/umpirsky/tld-list/master/data/en/tld.txt|awk '{print $1}' > tld.txt
curl -s https://raw.githubusercontent.com/umpirsky/tld-list/master/data/en/tld.txt|grep -Po "\(\K.+?(?=\))" > tld.txt
```
Get the middle segment (part before the TLD) of all entries, excluding ddns.net, spit it out as *.string