Removing a useless variable
Signed-off-by: Alarig Le Lay <alelay@scaleway.com>
This commit is contained in:
parent
709b521662
commit
de5a36c380
|
@ -23,8 +23,7 @@ def expiration(domain):
|
|||
cache_control=True
|
||||
)
|
||||
req = session.get('https://data.iana.org/rdap/dns.json')
|
||||
for list_of_list in req.json()['services']:
|
||||
k,v = list_of_list
|
||||
for k,v in req.json()['services']:
|
||||
for x in k:
|
||||
list2dict.append({'name':x, 'url':v[0]})
|
||||
|
||||
|
|
Loading…
Reference in a new issue