aboutsummaryrefslogtreecommitdiff
path: root/project/url-checkback-script.py
diff options
context:
space:
mode:
authors1nical <[email protected]>2019-08-14 18:12:14 -0700
committers1nical <[email protected]>2019-08-14 18:12:14 -0700
commit3eae86dee3a19cc72fd6515da30985f7691ca95f (patch)
tree610e24c2f9b422774800c12d6f17a4d8c82848c4 /project/url-checkback-script.py
parentDelete url-checkback-script.exe (diff)
downloadurl-checkback-tool-3eae86dee3a19cc72fd6515da30985f7691ca95f.tar.xz
url-checkback-tool-3eae86dee3a19cc72fd6515da30985f7691ca95f.zip
delete unused files
Diffstat (limited to 'project/url-checkback-script.py')
-rw-r--r--project/url-checkback-script.py38
1 files changed, 0 insertions, 38 deletions
diff --git a/project/url-checkback-script.py b/project/url-checkback-script.py
deleted file mode 100644
index 779cdb9..0000000
--- a/project/url-checkback-script.py
+++ /dev/null
@@ -1,38 +0,0 @@
-import time
-import webbrowser
-from selenium import webdriver
-from selenium.common.exceptions import NoSuchElementException
-from selenium.webdriver.support.ui import WebDriverWait
-from tkinter import *
-from tkinter.filedialog import askopenfile
-
-print (">>> URL Check-Back Tool <<< ")
-print (">>> Made by s1nical <<< ")
-
-
-driver = webdriver.Chrome("C:/chromedriver.exe");
-xPath = """//*[@id="app-mount"]/div[1]/div/div[2]/div/section/div/div[1]"""
-count = 0
-might = 0
-attempts = 0
-
-file = askopenfile(filetypes=[("Text files","*.txt")])
-codes = file.readlines()
-
-for code in codes:
- print(attempts)
- attempts += 1
- driver.get("http://discord.gift/" + code)
- time.sleep(2)
- try:
- texter = driver.find_element_by_xpath(xPath)
- except NoSuchElementException:
- print ("Might be Valid \n \n \n \n %s - @s1nical - \n \n \n \n" % code)
- might += 1
- continue
- if(texter.text == "Gift Code Invalid"):
- print("Might: %d | Invalid: %d" % (might, attempts))
-time.sleep(3);
-print("\n\tMight: %d \n\t Invalids: %d" % (might, attempts))
-driver.close()
-input('Finished')