From 9634abb2ea45c7ef454fef10d62049944f775b3a Mon Sep 17 00:00:00 2001 From: fruitberry <50817549+fruitberry@users.noreply.github.com> Date: Thu, 23 May 2019 20:03:58 -0700 Subject: updated script code --- project/url-checkback-tool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/url-checkback-tool.py b/project/url-checkback-tool.py index 3f5d7df..94d3ae2 100644 --- a/project/url-checkback-tool.py +++ b/project/url-checkback-tool.py @@ -17,14 +17,14 @@ for code in codes: try: texter = driver.find_element_by_xpath(xPath) except NoSuchElementException: - print ("Might be success \n \n \n \n %s - By fruitberries/ Zoltan - \n \n \n \n" % code) + print ("Might work \n \n \n \n %s - By fruitberries/ Zoltan - \n \n \n \n" % code) might += 1 continue if(texter.text == "Gift Code Invalid"): - print("SUCCESSES: %d | ATTEMPTS: %d | Might be success: %d" % (count, attempts, might)) + print("WORKING: %d | ATTEMPTS: %d | Might work: %d" % (count, attempts, might)) else: - print ("Success! \n \n \n \n %s - fruitberries/ Zoltan - \n \n \n \n" % code) + print ("It worked \n \n \n \n %s - fruitberries/ Zoltan - \n \n \n \n" % code) count += 1 time.sleep(3); -print("Done with: \n\tSuccesses: %d \n\tAttempts: %d \n\t Might: %d" % (count, attempts, might)) +print("Done with: \n\tWorking: %d \n\tAttempts: %d \n\t Might: %d" % (count, attempts, might)) driver.close() -- cgit v1.2.3