Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests, os, sys, time, re
- from colorama import Fore, Style
- from concurrent.futures import ThreadPoolExecutor, as_completed
- linux = 'clear'
- windows = 'cls'
- os.system([linux,windows][os.name == 'nt'])
- hijau = Fore.GREEN
- cyan = Fore.CYAN
- biru = Fore.BLUE
- batas = Style.RESET_ALL
- print(cyan)
- print('''
- ██████╗ ██████╗ ███╗ ███╗ █████╗ ██╗███╗ ██╗ ██████╗ ██████╗ █████╗ ██████╗
- ██╔══██╗██╔═══██╗████╗ ████║██╔══██╗██║████╗ ██║ ██╔════╝ ██╔══██╗██╔══██╗██╔══██╗
- ██║ ██║██║ ██║██╔████╔██║███████║██║██╔██╗ ██║ ██║ ███╗██████╔╝███████║██████╔╝
- ██║ ██║██║ ██║██║╚██╔╝██║██╔══██║██║██║╚██╗██║ ██║ ██║██╔══██╗██╔══██║██╔══██╗
- ██████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ██║██║██║ ╚████║ ╚██████╔╝██║ ██║██║ ██║██████╔╝
- ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝
- Grab by Extension & Unlimited Page
- Coder : Dodi Lorentz
- Web : https://dodilorentz.tech
- ''')
- class Login:
- def __init__(self, lic):
- self.lic = "LEWS1377"
- def authenticate(self):
- if (self.lic == loglic):
- print (cyan+"\nLisensi Valid")
- else:
- exit()
- log = Login("")
- loglic= input(hijau+"Masukkan License => ")
- log.authenticate()
- print(cyan+"Please Wait.....")
- time.sleep(15)
- linux = 'clear'
- windows = 'cls'
- os.system([linux,windows][os.name == 'nt'])
- print(cyan)
- print('''
- ██████╗ ██████╗ ███╗ ███╗ █████╗ ██╗███╗ ██╗ ██████╗ ██████╗ █████╗ ██████╗
- ██╔══██╗██╔═══██╗████╗ ████║██╔══██╗██║████╗ ██║ ██╔════╝ ██╔══██╗██╔══██╗██╔══██╗
- ██║ ██║██║ ██║██╔████╔██║███████║██║██╔██╗ ██║ ██║ ███╗██████╔╝███████║██████╔╝
- ██║ ██║██║ ██║██║╚██╔╝██║██╔══██║██║██║╚██╗██║ ██║ ██║██╔══██╗██╔══██║██╔══██╗
- ██████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ██║██║██║ ╚████║ ╚██████╔╝██║ ██║██║ ██║██████╔╝
- ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝
- Grab by Extension & Unlimited Page
- Coder : Dodi Lorentz
- Web : https://dodilorentz.tech
- ''')
- print(batas)
- ext = input(hijau+"Ext (com/org/net) => ")
- page = input(hijau+"Page => ")
- print(batas)
- for page in range(1,int(page)):
- headers = {'User-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'}
- req = requests.get('https://www.sitesinformation.com/country/'+ext+'/'+str(page), headers=headers).content.decode('utf-8')
- rex = re.findall('<a href="(.*?)">', req)
- for i in rex:
- if 'https://www.sitesinformation.com/' in rex:
- pass
- elif 'extension/' in i:
- pass
- elif 'country/' in i:
- pass
- elif 'pricing/' in i:
- pass
- else:
- rp = i.replace('/site/','').replace('/','').replace('" target="_blank','')
- print(cyan)
- print("Grab => ", rp)
- result = open('result.txt', 'a').write(str(rp)+'\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement