aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorfruitberry <[email protected]>2019-05-23 20:03:58 -0700
committerGitHub <[email protected]>2019-05-23 20:03:58 -0700
commit9634abb2ea45c7ef454fef10d62049944f775b3a (patch)
tree04d8067369181d05471dc23dd4aa93ec16ad1c1a /project
parentUpdate issue templates (diff)
downloadurl-checkback-tool-9634abb2ea45c7ef454fef10d62049944f775b3a.tar.xz
url-checkback-tool-9634abb2ea45c7ef454fef10d62049944f775b3a.zip
updated script code
Diffstat (limited to 'project')
-rw-r--r--project/url-checkback-tool.py8
1 files 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()