diff --git a/main.py b/main.py index 144a80a..aa2aad0 100644 --- a/main.py +++ b/main.py @@ -1009,8 +1009,7 @@ class ea_fucking(): return 'nime' except: pass - - #import pdb;pdb.set_trace() + sleep(6) pyautogui.press('tab')#, sleep(1) @@ -1327,7 +1326,7 @@ class ea_fucking(): codex.end() codex=Gmail(value,val2,browser_proxy=browser_proxy) print('eror') - #import pdb;pdb.set_trace() + # print('break_one') if codes==True: pass @@ -1573,7 +1572,7 @@ class ea_fucking(): codex.end() codex=Gmail(value,val2,browser_proxy=browser_proxy) print('eror') - #import pdb;pdb.set_trace() + # if codes==True: pass @@ -1831,7 +1830,7 @@ class ea_fucking(): tot=self.qr_code() sleep(3) totx=self.top(tot) - #import pdb;pdb.set_trace() + # # ea_png/input_bouten1.PNG ea_png/input_bouten2.PNG ea_png/input_for_end.PNG if chek5==True: pass @@ -2176,7 +2175,7 @@ class Gmail: self.driver.save_screenshot(os.path.join(os.getcwd(),'picher',f"_{self.name}verify.png")) return 'robot' ''' - # import pdb;pdb.set_trace() + # xxn=self.driver.find_elements(By.XPATH, "//*[contains(text(), 'Confirm your recovery email')]") try: xxn.click() @@ -2327,7 +2326,7 @@ class Gmail: return code print(elements) - #import pdb;pdb.set_trace() + # for i in elements: print(i.text) data=i.text.replace('Your EA Security Code is: ', '') @@ -2438,7 +2437,7 @@ class Gmail: self.driver.get("https://mail.google.com/mail/u/0/#settings/general") sleep(10) - #import pdb;pdb.set_trace() + # #iframes = self.driver.find_elements(By.TAG_NAME, "iframe") xx=self.driver.find_element(By.XPATH, "//select") sleep(5) @@ -2448,7 +2447,7 @@ class Gmail: xx=self.driver.find_element(By.XPATH, "//td/div/button").click() sleep(3) self.driver.get("https://myaccount.google.com/language") - #import pdb;pdb.set_trace() + # #https://myaccount.google.com/language xd='' for i in range(8): @@ -2606,7 +2605,7 @@ def main(path_png_file, return 'ALERT_to_mnay_code_chek' print('----------//////////',get_turn_on_2) - #import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2632,7 +2631,7 @@ def main(path_png_file, print('handel_page_and_code Failed!') return 'handel_page_and_code Failed' ###########################################^^^^ - #import pdb;pdb.set_trace() + # return handel_page_and_code #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ -2651,7 +2650,7 @@ def main(path_png_file, if not contuen_page2: print('contuen_page2 Failed!') return 'contuen_page2 Failed' - # import pdb;pdb.set_trace() + # # Accept buttons next = ea.next() if isinstance(next, str):return next @@ -2665,7 +2664,7 @@ def main(path_png_file, print('accept >>>', accept) if 'make_other_time'==accept: - #import pdb;pdb.set_trace() + # #return 'make_other_time' sleep(10) get_seting_sec_1 = ea.get_seting_sec_1() @@ -2679,7 +2678,7 @@ def main(path_png_file, if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' print('----------//////////',get_turn_on_2) - #import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2704,7 +2703,7 @@ def main(path_png_file, print('handel_page_and_code Failed!') return 'handel_page_and_code Failed' ###########################################^^^^ - #import pdb;pdb.set_trace() + # return handel_page_and_code if not accept: print('accept Failed!') @@ -2726,7 +2725,7 @@ def main(path_png_file, get_turn_on_2 = ea.get_turn_on_2(codex,value,val2) if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' - #import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2752,7 +2751,7 @@ def main(path_png_file, print('handel_page_and_code Failed!') return 'handel_page_and_code Failed' ###########################################^^^^ - #import pdb;pdb.set_trace() + # return handel_page_and_code print('creat >>>', creat) if isinstance(creat, str):return creat @@ -2778,7 +2777,7 @@ def main(path_png_file, get_turn_on_2 = ea.get_turn_on_2(codex,value,val2) if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' - # import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2821,9 +2820,9 @@ def main(path_png_file, print('accept >>>', accept) if 'make_other_time'==accept: - #import pdb;pdb.set_trace() + # #return 'make_other_time' - #import pdb;pdb.set_trace() + # #return 'make_other_time' sleep(10) get_seting_sec_1 = ea.get_seting_sec_1() @@ -2837,7 +2836,7 @@ def main(path_png_file, if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' print('----------//////////',get_turn_on_2) - #import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2863,7 +2862,7 @@ def main(path_png_file, print('handel_page_and_code Failed!') return 'handel_page_and_code Failed' ###########################################^^^^ - #import pdb;pdb.set_trace() + # return handel_page_and_code if not accept: print('accept Failed!') @@ -2885,7 +2884,7 @@ def main(path_png_file, get_turn_on_2 = ea.get_turn_on_2(codex,value,val2) if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' - #import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2939,7 +2938,7 @@ def main(path_png_file, if 'ALERT_to_mnay_code_chek' in str(get_turn_on_2): return 'ALERT_to_mnay_code_chek' print('----------//////////',get_turn_on_2) - # import pdb;pdb.set_trace() + # if 'ea_created__app_code_nead!!' in str(get_turn_on_2): return "ea_created__app_code_nead!!" if isinstance(get_turn_on_2, str):return get_turn_on_2 @@ -2965,7 +2964,7 @@ def main(path_png_file, print('handel_page_and_code Failed!') return 'handel_page_and_code Failed' ###########################################^^^^ - #import pdb;pdb.set_trace() + return handel_page_and_code # Open new tab ######################################