updated bl module

This commit is contained in:
Paul 2022-03-23 18:26:38 +01:00
parent 87af300ed4
commit 932ed7d148

View File

@ -6,7 +6,7 @@ from urllib.request import urlopen, Request
def get_ips(url="https://ipbl.paulbsd.com"):
"""get_ips fetch ips blacklists from ipbl"""
fullurl = f"{url}/ips/last"
fullurl = f"{url}/ips/last?interval=3%20h"
req = Request(method="GET", url=fullurl)
res = urlopen(req)
results = json.loads(res.read())