Update 'main.py'
add "\n"
This commit is contained in:
parent
939cc10a39
commit
e68a10a207
2
main.py
2
main.py
@ -24,5 +24,5 @@ with open("domens.txt", "w") as f:
|
|||||||
|
|
||||||
response = requests.post('https://2domains.ru/wizard/api/domain/check', headers=headers, json=json_data).json()[0]
|
response = requests.post('https://2domains.ru/wizard/api/domain/check', headers=headers, json=json_data).json()[0]
|
||||||
if (response["is_available"] == True):
|
if (response["is_available"] == True):
|
||||||
f.write(f'{response["domain"]} - {response["price"]}')
|
f.write(f'{response["domain"]} - {response["price"]}\n')
|
||||||
print(f'{response["domain"]} - {response["price"]}')
|
print(f'{response["domain"]} - {response["price"]}')
|
Loading…
Reference in New Issue
Block a user