From e68a10a207029032c0446d916d8bdcc0b1688539 Mon Sep 17 00:00:00 2001 From: ramjm Date: Wed, 24 Apr 2024 21:48:26 +0300 Subject: [PATCH] Update 'main.py' add "\n" --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a360f4f..4dad1b4 100644 --- a/main.py +++ b/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] 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"]}') \ No newline at end of file