mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-02-25 18:46:25 +00:00
Fix PSL download
This commit is contained in:
@@ -110,7 +110,7 @@ def _get_base_domain(domain):
|
||||
__version__
|
||||
)
|
||||
headers = {"User-Agent": user_agent}
|
||||
fresh_psl = requests.get(url, headers=headers).content
|
||||
fresh_psl = requests.get(url, headers=headers).text
|
||||
with open(psl_path, "w", encoding="utf-8") as fresh_psl_file:
|
||||
fresh_psl_file.write(fresh_psl)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user