none 9 months ago
parent c5231c5c11
commit cb99b513ee

@ -1,7 +1,7 @@
from re import compile, sub
def domain_ok(domain):
domains = ["jet"]
domains = ["jet", "jw", "404", "dash", "awesome"]
if domain.count(".") == 1:
if domain.split(".")[1] in domains:

@ -18,7 +18,7 @@ op = input(">> ")
if op == "1":
from domain_check import *
print("\nДомены: .jet")
print("\nДомены: .jet, .jw, .404, .dash, .awesome")
domain = input("Домен сайта: ")
if not domain_ok(domain):
print("Неправильный формат или домен.")

Loading…
Cancel
Save