This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import yaml | |
# load AdGuardHome.yaml | |
with open('AdGuardHome.yaml', 'r') as file: | |
data = yaml.load(file, Loader=yaml.FullLoader) | |
# load file with adlist sources | |
with open('adlists.txt', 'r') as file: |