daily
daily copied to clipboard
provide a separate chnlist head file?
Looking at the script, there is a head generated as tmp file
however i think that is the most useful domains.
can you provide it as chnlisttop.txt ?
that way, you don't need to head -n 2000 to get the list for shadowrocket, just use chnlisttop.txt for it
thanks
btw, right now i use this awk to get it from your list and generate a dnsmasq conf file.
awk -v pre="server=/" -v suf="/$dns_china" '/^000/{exit} 1{print pre $0 suf}' chnlist.txt
that will get all the domains from line 1 until before the first "^000" matches.
root@PI /tmp/chinalist.0xgUNX # cat chinalist_head.tmp | wc -l
2410
Looks good, but I don't have time to maintain this project for now. I will rewrite this project in the future.
i get 2578 with this command:
awk -v pre="server=/" -v suf="/$dns_china" '/^000/{exit} 1{print pre $0 suf}' chnlist.txt