Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- try:
- password_page = requests.get('https://{}.com'.format(url))
- password_page.raise_for_status()
- except:
- print('Error checking password page! - https://{}.com'.format(url))
- continue
- else:
- # *************---If password up---**************
- if ('password' in password_page.url):
- # Password page is up
- print('Password page is up! - ' + 'https://{}.com'.format(url))
- if not ('password' in password_page.url):
- # No password page -> password page
- # *************---Send to discord---**************
- print("SENDING...1") #Discord function will be added later
- time.sleep(random.randint(6, 12))
- # *************---If password down---**************
- else:
- # Password page is down
- print('Password page is down! - ' + 'https://{}.com'.format(url))
- if ('password' in password_page.url):
- # Password page -> no password page
- # *************---Send---**************
- print("SENDING...2") #Discord function will be added laterthis print...
- time.sleep(random.randint(6, 12))
- # *************---Retry between 6-12 random.---**************
- finally:
- time.sleep(random.randint(6, 12))
Add Comment
Please, Sign In to add comment