修复一些BUG
This commit is contained in:
		
							
								
								
									
										4
									
								
								DOMAIN
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								DOMAIN
									
									
									
									
									
								
							@@ -1,5 +1,4 @@
 | 
				
			|||||||
am
 | 
					am
 | 
				
			||||||
im
 | 
					 | 
				
			||||||
at
 | 
					at
 | 
				
			||||||
cx
 | 
					cx
 | 
				
			||||||
cz
 | 
					cz
 | 
				
			||||||
@@ -8,5 +7,4 @@ gs
 | 
				
			|||||||
lc
 | 
					lc
 | 
				
			||||||
lu
 | 
					lu
 | 
				
			||||||
mk
 | 
					mk
 | 
				
			||||||
nu
 | 
					nu
 | 
				
			||||||
st
 | 
					 | 
				
			||||||
							
								
								
									
										151
									
								
								DOMAINS
									
									
									
									
									
								
							
							
						
						
									
										151
									
								
								DOMAINS
									
									
									
									
									
								
							@@ -1,36 +1,155 @@
 | 
				
			|||||||
 | 
					ae
 | 
				
			||||||
 | 
					ag
 | 
				
			||||||
am
 | 
					am
 | 
				
			||||||
cm
 | 
					 | 
				
			||||||
im
 | 
					 | 
				
			||||||
bi
 | 
					 | 
				
			||||||
ci
 | 
					 | 
				
			||||||
ge
 | 
					 | 
				
			||||||
lv
 | 
					 | 
				
			||||||
at
 | 
					at
 | 
				
			||||||
by
 | 
					be
 | 
				
			||||||
 | 
					ai
 | 
				
			||||||
 | 
					ar
 | 
				
			||||||
 | 
					aw
 | 
				
			||||||
 | 
					ax
 | 
				
			||||||
 | 
					bg
 | 
				
			||||||
 | 
					bi
 | 
				
			||||||
 | 
					bj
 | 
				
			||||||
 | 
					bn
 | 
				
			||||||
 | 
					br
 | 
				
			||||||
 | 
					bw
 | 
				
			||||||
 | 
					bz
 | 
				
			||||||
 | 
					ca
 | 
				
			||||||
 | 
					cc
 | 
				
			||||||
 | 
					cd
 | 
				
			||||||
 | 
					cf
 | 
				
			||||||
 | 
					ci
 | 
				
			||||||
cl
 | 
					cl
 | 
				
			||||||
 | 
					cm
 | 
				
			||||||
 | 
					cn
 | 
				
			||||||
 | 
					co
 | 
				
			||||||
 | 
					cr
 | 
				
			||||||
cx
 | 
					cx
 | 
				
			||||||
cz
 | 
					cz
 | 
				
			||||||
de
 | 
					de
 | 
				
			||||||
 | 
					dk
 | 
				
			||||||
 | 
					dm
 | 
				
			||||||
 | 
					do
 | 
				
			||||||
 | 
					dz
 | 
				
			||||||
 | 
					ec
 | 
				
			||||||
 | 
					ee
 | 
				
			||||||
 | 
					eu
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
gd
 | 
					fj
 | 
				
			||||||
 | 
					fm
 | 
				
			||||||
 | 
					fo
 | 
				
			||||||
 | 
					fr
 | 
				
			||||||
 | 
					ge
 | 
				
			||||||
 | 
					gg
 | 
				
			||||||
 | 
					gi
 | 
				
			||||||
 | 
					gl
 | 
				
			||||||
gs
 | 
					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
 | 
					lc
 | 
				
			||||||
 | 
					li
 | 
				
			||||||
lt
 | 
					lt
 | 
				
			||||||
lu
 | 
					lu
 | 
				
			||||||
 | 
					lv
 | 
				
			||||||
 | 
					ly
 | 
				
			||||||
 | 
					ma
 | 
				
			||||||
 | 
					md
 | 
				
			||||||
 | 
					me
 | 
				
			||||||
 | 
					mg
 | 
				
			||||||
mk
 | 
					mk
 | 
				
			||||||
 | 
					ml
 | 
				
			||||||
 | 
					mm
 | 
				
			||||||
 | 
					mn
 | 
				
			||||||
 | 
					mo
 | 
				
			||||||
 | 
					ms
 | 
				
			||||||
 | 
					mu
 | 
				
			||||||
 | 
					mx
 | 
				
			||||||
 | 
					my
 | 
				
			||||||
 | 
					mz
 | 
				
			||||||
 | 
					na
 | 
				
			||||||
 | 
					nc
 | 
				
			||||||
 | 
					nf
 | 
				
			||||||
 | 
					ng
 | 
				
			||||||
 | 
					nl
 | 
				
			||||||
 | 
					no
 | 
				
			||||||
nu
 | 
					nu
 | 
				
			||||||
nz
 | 
					nz
 | 
				
			||||||
pw
 | 
					om
 | 
				
			||||||
 | 
					pe
 | 
				
			||||||
 | 
					pf
 | 
				
			||||||
 | 
					pl
 | 
				
			||||||
 | 
					pm
 | 
				
			||||||
 | 
					pr
 | 
				
			||||||
 | 
					ps
 | 
				
			||||||
 | 
					pt
 | 
				
			||||||
 | 
					qa
 | 
				
			||||||
 | 
					re
 | 
				
			||||||
ro
 | 
					ro
 | 
				
			||||||
rs
 | 
					rs
 | 
				
			||||||
ru
 | 
					ru
 | 
				
			||||||
 | 
					rw
 | 
				
			||||||
 | 
					sa
 | 
				
			||||||
 | 
					sb
 | 
				
			||||||
 | 
					sc
 | 
				
			||||||
 | 
					se
 | 
				
			||||||
 | 
					sg
 | 
				
			||||||
 | 
					sh
 | 
				
			||||||
si
 | 
					si
 | 
				
			||||||
 | 
					sk
 | 
				
			||||||
 | 
					sl
 | 
				
			||||||
 | 
					sm
 | 
				
			||||||
 | 
					sn
 | 
				
			||||||
 | 
					so
 | 
				
			||||||
su
 | 
					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
 | 
					ws
 | 
				
			||||||
gy
 | 
					yt
 | 
				
			||||||
st
 | 
					zm
 | 
				
			||||||
qa
 | 
					 | 
				
			||||||
moe
 | 
					 | 
				
			||||||
cyou
 | 
					 | 
				
			||||||
hair
 | 
					 | 
				
			||||||
							
								
								
									
										21
									
								
								TLD_DATA
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								TLD_DATA
									
									
									
									
									
								
							@@ -1,16 +1,15 @@
 | 
				
			|||||||
=Edited and Archived by Har-Kuun = (https://qing.su)
 | 
					 | 
				
			||||||
com=whois.verisign-grs.com=No match for=
 | 
					com=whois.verisign-grs.com=No match for=
 | 
				
			||||||
edu=whois.verisign-grs.com=No match for=
 | 
					edu=whois.verisign-grs.com=No match for=
 | 
				
			||||||
net=whois.verisign-grs.com=No match for=
 | 
					net=whois.verisign-grs.com=No match for=
 | 
				
			||||||
//ad=whois.ripe.net=o entries found=
 | 
					//ad=whois.ripe.net=o entries found=
 | 
				
			||||||
ae=whois.aeda.net.ae=No Data Found=
 | 
					ae=whois.aeda.net.ae=No Data Found=
 | 
				
			||||||
af=whois.nic.af=No Object Found=
 | 
					af=whois.nic.af=No Object Found=
 | 
				
			||||||
ag=whois.nic.ag=NOT FOUND=
 | 
					ag=whois.name.com=NO DOMAIN=
 | 
				
			||||||
am=whois.name.com=NO DOMAIN=
 | 
					am=whois.amnic.net=NO DOMAIN=
 | 
				
			||||||
as=whois.nic.as=NOT FOUND=
 | 
					as=whois.nic.as=NOT FOUND=
 | 
				
			||||||
at=whois.name.com=NO DOMAIN=
 | 
					at=whois.name.com=NO DOMAIN=
 | 
				
			||||||
au=whois.audns.net.au=No Data Found=
 | 
					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=
 | 
					by=whois.name.com=NO DOMAIN=
 | 
				
			||||||
cyou=whois.name.com=NO DOMAIN=
 | 
					cyou=whois.name.com=NO DOMAIN=
 | 
				
			||||||
hair=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=
 | 
					in=whois.inregistry.in=NOT FOUND=
 | 
				
			||||||
info=whois.afilias.info=NOT FOUND=
 | 
					info=whois.afilias.info=NOT FOUND=
 | 
				
			||||||
int=whois.iana.org=this server does not have=
 | 
					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=
 | 
					iq=whois.cmc.iq=No Object Found=
 | 
				
			||||||
ir=whois.nic.ir=o entries found=
 | 
					ir=whois.nic.ir=o entries found=
 | 
				
			||||||
is=whois.isnic.is=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=
 | 
					kz=whois.nic.kz=othing found=
 | 
				
			||||||
la=whois.nic.la=DOMAIN NOT FOUND=
 | 
					la=whois.nic.la=DOMAIN NOT FOUND=
 | 
				
			||||||
lc=whois.name.com=NO DOMAIN=
 | 
					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=
 | 
					lt=whois.domreg.lt=available=
 | 
				
			||||||
lu=whois.dns.lu=o such domain=
 | 
					lu=whois.dns.lu=o such domain=
 | 
				
			||||||
lv=whois.nic.lv= free=
 | 
					lv=whois.nic.lv= free=
 | 
				
			||||||
@@ -114,7 +113,7 @@ me=whois.nic.me=NOT FOUND=
 | 
				
			|||||||
mg=whois.nic.mg=No Object Found=
 | 
					mg=whois.nic.mg=No Object Found=
 | 
				
			||||||
mk=whois.marnet.mk=No entries found=
 | 
					mk=whois.marnet.mk=No entries found=
 | 
				
			||||||
ml=whois.dot.ml=ot known=
 | 
					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=
 | 
					mn=whois.nic.mn=NOT FOUND=
 | 
				
			||||||
mo=whois.monic.mo=o match for=
 | 
					mo=whois.monic.mo=o match for=
 | 
				
			||||||
mobi=whois.afilias.net=NOT FOUND=
 | 
					mobi=whois.afilias.net=NOT FOUND=
 | 
				
			||||||
@@ -123,7 +122,7 @@ mom=whois.uniregistry.net=available=
 | 
				
			|||||||
ms=whois.nic.ms=No Object Found=
 | 
					ms=whois.nic.ms=No Object Found=
 | 
				
			||||||
mu=whois.nic.mu=No Object Found=
 | 
					mu=whois.nic.mu=No Object Found=
 | 
				
			||||||
mx=whois.mx=Object_Not_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=
 | 
					mz=whois.nic.mz=No Object Found=
 | 
				
			||||||
na=whois.na-nic.com.na=No Object Found=
 | 
					na=whois.na-nic.com.na=No Object Found=
 | 
				
			||||||
name=whois.nic.name=o match=
 | 
					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=
 | 
					sa=whois.nic.net.sa=No Match=
 | 
				
			||||||
sb=whois.nic.net.sb=No Object Found=
 | 
					sb=whois.nic.net.sb=No Object Found=
 | 
				
			||||||
com.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=
 | 
					se=whois.nic.se=ot found=
 | 
				
			||||||
sg=whois.nic.net.sg=Not Found=
 | 
					sg=whois.nic.net.sg=Not Found=
 | 
				
			||||||
com.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=
 | 
					si=whois.arnes.si=o entries found=
 | 
				
			||||||
site=whois.centralnic.com=NOT FOUND=
 | 
					site=whois.centralnic.com=NOT FOUND=
 | 
				
			||||||
sk=whois.sk-nic.sk=ot 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=
 | 
					st=whois.nic.st=o entries found=
 | 
				
			||||||
su=whois.tcinet.ru=No entries found=
 | 
					su=whois.tcinet.ru=No entries found=
 | 
				
			||||||
sx=whois.sx=o match for=
 | 
					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=
 | 
					tc=whois.nic.tc=No Object Found=
 | 
				
			||||||
tel=whois.nic.tel=No Domain=
 | 
					tel=whois.nic.tel=No Domain=
 | 
				
			||||||
tf=whois.nic.tf=o entries found=
 | 
					tf=whois.nic.tf=o entries found=
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										22
									
								
								domain.txt
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								domain.txt
									
									
									
									
									
								
							@@ -1,24 +1,2 @@
 | 
				
			|||||||
AVAILABLE DOMAIN NAME LIST:
 | 
					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
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ def domain_megabot(domain, no_match_pattern, whois_server):
 | 
				
			|||||||
        if response:
 | 
					        if response:
 | 
				
			||||||
            if no_match_pattern in response:
 | 
					            if no_match_pattern in response:
 | 
				
			||||||
                print(f"{domain} AVAILABLE FOR REGISTRATION!")
 | 
					                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")
 | 
					                    f.write(f"{domain}\n")
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                print(f"{domain} NOT AVAILABLE.")
 | 
					                print(f"{domain} NOT AVAILABLE.")
 | 
				
			||||||
@@ -126,7 +126,7 @@ def main():
 | 
				
			|||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Use a thread pool to check multiple domains concurrently
 | 
					    # 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 = [
 | 
					        futures = [
 | 
				
			||||||
            executor.submit(domain_megabot, domain, pattern, server)
 | 
					            executor.submit(domain_megabot, domain, pattern, server)
 | 
				
			||||||
            for domain, pattern, server in domains
 | 
					            for domain, pattern, server in domains
 | 
				
			||||||
@@ -134,7 +134,7 @@ def main():
 | 
				
			|||||||
        for future in concurrent.futures.as_completed(futures):
 | 
					        for future in concurrent.futures.as_completed(futures):
 | 
				
			||||||
            future.result()  # Handle any exceptions in threads
 | 
					            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__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user