修复一些BUG
Daily Domain Check / domain_check (push) Failing after 3h10m59s Details

This commit is contained in:
ahdoawhfo 2024-08-19 15:37:12 +08:00
parent 923db7e265
commit 2bfe68160e
Signed by: ahdoawhfo
GPG Key ID: 5B4A734D16322C1D
5 changed files with 149 additions and 55 deletions

2
DOMAIN
View File

@ -1,5 +1,4 @@
am
im
at
cx
cz
@ -9,4 +8,3 @@ lc
lu
mk
nu
st

151
DOMAINS
View File

@ -1,36 +1,155 @@
ae
ag
am
cm
im
bi
ci
ge
lv
at
by
be
ai
ar
aw
ax
bg
bi
bj
bn
br
bw
bz
ca
cc
cd
cf
ci
cl
cm
cn
co
cr
cx
cz
de
dk
dm
do
dz
ec
ee
eu
fi
gd
fj
fm
fo
fr
ge
gg
gi
gl
gs
gy
hk
hm
hn
hr
ht
hu
id
ie
il
in
io
iq
ir
is
it
je
jp
ke
kg
ki
kn
kr
ky
kz
la
lc
li
lt
lu
lv
ly
ma
md
me
mg
mk
ml
mm
mn
mo
ms
mu
mx
my
mz
na
nc
nf
ng
nl
no
nu
nz
pw
om
pe
pf
pl
pm
pr
ps
pt
qa
re
ro
rs
ru
rw
sa
sb
sc
se
sg
sh
si
sk
sl
sm
sn
so
su
vg
sx
sy
tc
tf
tg
th
tk
tl
tm
tn
to
tr
tv
tw
tz
ua
ug
uk
us
uy
uz
vc
ve
vu
wf
ws
gy
st
qa
moe
cyou
hair
yt
zm

View File

@ -1,16 +1,15 @@
=Edited and Archived by Har-Kuun = (https://qing.su)
com=whois.verisign-grs.com=No match for=
edu=whois.verisign-grs.com=No match for=
net=whois.verisign-grs.com=No match for=
//ad=whois.ripe.net=o entries found=
ae=whois.aeda.net.ae=No Data Found=
af=whois.nic.af=No Object Found=
ag=whois.nic.ag=NOT FOUND=
am=whois.name.com=NO DOMAIN=
ag=whois.name.com=NO DOMAIN=
am=whois.amnic.net=NO DOMAIN=
as=whois.nic.as=NOT FOUND=
at=whois.name.com=NO DOMAIN=
au=whois.audns.net.au=No Data Found=
be=whois.dns.be=AVAILABLE=
be=whois.dns.be=Status: AVAILABLE=
by=whois.name.com=NO DOMAIN=
cyou=whois.name.com=NO DOMAIN=
hair=whois.name.com=NO DOMAIN=
@ -87,7 +86,7 @@ im=whois.nic.im=ot found=
in=whois.inregistry.in=NOT FOUND=
info=whois.afilias.info=NOT FOUND=
int=whois.iana.org=this server does not have=
//io=whois.nic.io=available=
io=whois.nic.io=available=
iq=whois.cmc.iq=No Object Found=
ir=whois.nic.ir=o entries found=
is=whois.isnic.is=o entries found=
@ -103,7 +102,7 @@ ky=whois.kyregistry.ky=vailable=
kz=whois.nic.kz=othing found=
la=whois.nic.la=DOMAIN NOT FOUND=
lc=whois.name.com=NO DOMAIN=
//li=whois.nic.li=not have an entry=
li=whois.nic.li=not have an entry=
lt=whois.domreg.lt=available=
lu=whois.dns.lu=o such domain=
lv=whois.nic.lv= free=
@ -114,7 +113,7 @@ me=whois.nic.me=NOT FOUND=
mg=whois.nic.mg=No Object Found=
mk=whois.marnet.mk=No entries found=
ml=whois.dot.ml=ot known=
//mm=whois.nic.mm=No domains matched=
mm=whois.nic.mm=No domains matched=
mn=whois.nic.mn=NOT FOUND=
mo=whois.monic.mo=o match for=
mobi=whois.afilias.net=NOT FOUND=
@ -123,7 +122,7 @@ mom=whois.uniregistry.net=available=
ms=whois.nic.ms=No Object Found=
mu=whois.nic.mu=No Object Found=
mx=whois.mx=Object_Not_Found=
//my=whois.mynic.net.my=does not exist=
my=whois.mynic.net.my=does not exist=
mz=whois.nic.mz=No Object Found=
na=whois.na-nic.com.na=No Object Found=
name=whois.nic.name=o match=
@ -160,11 +159,11 @@ rw=whois.ricta.org.rw=No Object Found=
sa=whois.nic.net.sa=No Match=
sb=whois.nic.net.sb=No Object Found=
com.sb=whois.nic.net.sb=No Object Found=
//sc=whois.afilias-grs.net=ot found=
sc=whois.afilias-grs.net=ot found=
se=whois.nic.se=ot found=
sg=whois.nic.net.sg=Not Found=
com.sg=whois.nic.net.sg=Not Found=
//sh=whois.nic.sh=is available for purchase=
sh=whois.nic.sh=is available for purchase=
si=whois.arnes.si=o entries found=
site=whois.centralnic.com=NOT FOUND=
sk=whois.sk-nic.sk=ot found=
@ -175,7 +174,7 @@ so=whois.nic.so=ot found=
st=whois.nic.st=o entries found=
su=whois.tcinet.ru=No entries found=
sx=whois.sx=o match for=
//sy=whois.tld.sy=No Object Found=
sy=whois.tld.sy=No Object Found=
tc=whois.nic.tc=No Object Found=
tel=whois.nic.tel=No Domain=
tf=whois.nic.tf=o entries found=

View File

@ -1,24 +1,2 @@
AVAILABLE DOMAIN NAME LIST:
---------------------------------
a.am
a.lc
a.nu
b.am
b.lc
b.nu
c.am
c.lc
c.nu
d.am
d.lc
d.nu
e.am
e.lc
e.nu
f.am
f.lc
f.nu
g.am
g.lc
g.nu
h.am

View File

@ -13,7 +13,7 @@ def domain_megabot(domain, no_match_pattern, whois_server):
if response:
if no_match_pattern in response:
print(f"{domain} AVAILABLE FOR REGISTRATION!")
with open("domain.txt", "a") as f:
with open("domains.txt", "a") as f:
f.write(f"{domain}\n")
else:
print(f"{domain} NOT AVAILABLE.")
@ -126,7 +126,7 @@ def main():
)
# Use a thread pool to check multiple domains concurrently
with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:
with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor:
futures = [
executor.submit(domain_megabot, domain, pattern, server)
for domain, pattern, server in domains
@ -134,7 +134,7 @@ def main():
for future in concurrent.futures.as_completed(futures):
future.result() # Handle any exceptions in threads
print("TASK FINISHED! RESULTS SAVED TO domain.txt")
print("TASK FINISHED! RESULTS SAVED TO domains.txt")
if __name__ == "__main__":