refactor dnscrypt parse

add test
This commit is contained in:
bgme 2025-02-07 16:50:00 +08:00
parent ee37b9e95e
commit a53b9c7a8e
10 changed files with 608 additions and 540 deletions

View file

@ -1,8 +1,8 @@
import subprocess
import logging
import subprocess
from urllib.request import urlopen
from utils.dnsstamps import parse, DNSoverHTTPS
from dnscrypt import parse, DNSoverHTTPS
SMARTDNS_GFW_CONF_FILE = '/etc/smartdns/conf.d/gfw.conf'
@ -80,4 +80,4 @@ def main():
if __name__ == '__main__':
main()
main()