Skip to content

Commit

Permalink
Print abuse notice on psl update script
Browse files Browse the repository at this point in the history
  • Loading branch information
ko-zu committed Jan 31, 2023
1 parent 8ae0d58 commit d7eb57b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions publicsuffixlist/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def updatePSL(psl_file=PSLFILE):
:param psl_file: path for the file to store the list. Default: PSLFILE
"""
print("This is a script to download the latest PSL file.")
print("Do not run this repeatedly more than once per day.")

if requests is None:
raise Exception("Please install python-requests http(s) library. $ sudo pip install requests")

Expand Down

0 comments on commit d7eb57b

Please sign in to comment.